How to identified the patch applied in Oracle Database

Apply the patch is DBA responsibility and we applied it Quarterly as per our GMB plan based on Oracle release patch. You can identified the patch set applied in your database using Oracle opatch utility which will show you the list of all the bug fixed during patching. Sometimes latest patch conflict with the older patch, in that case you must check all the patches installed to the oracle database using opatch lsinventory.

Using opatch lsinventory

[oracle@dbatrainings ~]$ $ORACLE_HOME/OPatch/opatch lsinventory

You can also able to find details using below command.

[oracle@dbatrainings ~]$ $ORACLE_HOME/OPatch/opatch lsinventory -details

Alternate option login as a sysdba and execute command from the SQL prompt to get the patch detail.

[oracle@dbatrainings ~]$ sqlplus / as sysdba

SQL> set serverout on;

SQL> exec dbms_qopatch.get_sqlpatch_status;

If you want to understand information of particular patch ID you can able to get more details.

SQL> select xmltransform(dbms_qopatch.is_patch_installed(‘29494060’),dbms_qopatch.get_opatch_xslt) “Patch installed?” from dual;

Alternate option you are able to find from registry.

SQL> select * from sys.registry$history;

SQL> select * from sys.dba_registry_sqlpatch;

For More Details, you can reach us using the below link. 









20 views0 comments

Recent Posts

See All

Oracle Database 21c is the first Oracle database release with CDB-only architecture. Oracle 20c was announced only CDB architecture but it was not release for on premises. Only for Cloud. That's why i

While you are working on SQL*Plus and RMAN on Linux environment and you did some mistake and you want to edit your query it won’t work by default. There is way to configure it. The rlwrap (readline wr