Skip to main content

Posts

Oracle 19.31 RU Patch on Oracle Restart via OPatchAuto

Introduction This article documents the end-to-end patching procedure for Oracle Database 19c Release Update (RU) 19.31 (39034528) in an Oracle Restart environment using OPatchAuto. OPatchAuto OPatchAuto is an Oracle utility designed to automate the patching process for Oracle Grid Infrastructure, Oracle Restart, and Oracle RAC environments. It handles the entire lifecycle from pre-checks and stopping services to applying binary updates, running root scripts, restarting services, and executing datapatch for SQL updates. OPatchAuto must be executed by the root user, as it needs privileged access to stop and start Oracle High Availability Services and perform root level configuration tasks. Prerequisites Plan a maintenance window with approximately 180 minutes of database downtime. Ensure a minimum of 15 GB of free space is available in both the Grid Infrastructure and Database home mount points. Additionally, reserve approximately 25 GB for the patch files and Oracle Home ...

Oracle RMAN Duplicate: Active vs Backup-Based Guide

Introduction The RMAN DUPLICATE command is a built-in utility in Oracle that lets us create a copy of an existing database. It's commonly used for testing, reporting, or setting up a standby database for disaster recovery. Unlike manual duplication methods, RMAN simplifies the process by automatically handling tasks such as creating control files, assigning a new database identifier (DBID), and applying recovery to keep the cloned database consistent. In this article, we'll use the RMAN Duplicate utility for cloning and restoring a target database. Two Main Types of Duplication Active Duplication: This method copies the database directly from the running source database to the destination over the network. It doesn't rely on existing backups, and works well when the source database is accessible and network performance is sufficient. Backup-Based Duplication: This approach uses previously created RMAN backups (stored on disk or tape) to duplicate the database. It...