top of page

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. 


72 views0 comments

Recent Posts

See All

How to Connect MySQL Without Root Password.

Many times, I got the question from my colleague or training participants, how to login MySQL if I forgot the password. I have explained the process in many times to them but thought to write this sce

Step by Step Oracle 21c Installation on Linux

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


bottom of page