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. 









18 views0 comments

Recent Posts

See All

How to set cursor movement in oracle SQL

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

How to resolve Backspace key issue in sqlplus.

Backspace key does not work in sqlplus. It's not a issue form Oracle. This is a terminal type issue. echo $TERM stty -a and see if you have done anything special with the backspace key. I hope it’s wo