Oracle Patching
Oracle Patching
In this document we will see how to patch the database with the latest PSU patches
Check the following note for the patch numbers for all versions
Primary Note for Database Proactive Patch Program (Doc ID 888.1)
Download the relevant patch for the DB version and OS version , in this case
21c – Linux
Current patch list : Run the following command to see list of all patches applied
(None applied on this Oracle home currently)
https://updates.oracle.com/download/6880880.html
cd $ORACLE_HOME/OPatch
./opatch version
Perform Precheck :
cd 34839741
opatch prereq CheckConflictAgainstOHWithDetail -ph ./
./opatch apply
/home/oracle/patches/34839741
[oracle@oracle-21c-vagrant 34839741]$ cd $ORACLE_HOME/OPatch
[oracle@oracle-21c-vagrant OPatch]$ ./opatch lspatches
34839741;Database Release Update : 21.9.0.0.230117 (34839741)
OPatch succeeded.
[oracle@oracle-21c-vagrant OPatch]$
cd $ORACLE_HOME/Opatch
./opatch rollback -id 34839741