Applying Out-of-Place Oracle Database Patches

Use this procedure to perform an out-of-place patching of Oracle Database.

  1. Download the gold image of the desired Release Update (RU) and extract the files into a new Oracle home directory. For example:
    $ mkdir -p /u01/app/oracle/product/23.5.0/dbhome_1
    $ chgrp oinstall /u01/app/oracle/product/23.5.0/dbhome_1
    $ cd /u01/app/oracle/product/23.5.0/dbhome_1
    $ unzip -q /tmp/23_5_ru.zip
  2. Configure a new Oracle home identical to the old Oracle home using runInstaller.
    $ ./runInstaller -silent -setupDBHomeAs source_Oracle_home
    This step retrieves configuration information, such as the users and groups used for installing Oracle Database software for the first time, and installs the Oracle Database software in the new Oracle home.
  3. Move Oracle Database from the old home to the new home using the Oracle DBCA command-line interface. Run the following Oracle DBCA command from the new Oracle home.
    $ /u01/app/oracle/product/23.5.0/dbhome_1/bin/dbca -silent -moveDatabase -sourceDB db_unique_name