user3497717 user3497717 - 5 months ago 6
SQL Question

How to check Oracle patches are installed?

How do I check that all services and patches are installed in Oracle?

I have an

db version and want to install patches. Also I want to get a list with all services and patches.


Here is an article on how to check and or install new patches :

To find the OPatch tool setup your database enviroment variables and then issue this comand:

> pwd

To list all the patches applies to your database use the lsinventory option:

[oracle@DCG023 8828328]$ opatch lsinventory
Oracle Interim Patch Installer version
Copyright (c) 2012, Oracle Corporation. All rights reserved.

Oracle Home : /u00/product/11.2.0/dbhome_1
Central Inventory : /u00/oraInventory
from : /u00/product/11.2.0/dbhome_1/oraInst.loc
OPatch version :
OUI version :
Log file location : /u00/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2013-11-13_13-55-22PM_1.log
Lsinventory Output file location : /u00/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2013-11-13_13-55-22PM.txt

Installed Top-level Products (1):
Oracle Database 11g
There are 1 products installed in this Oracle Home.

Interim patches (1) :
Patch 8405205 : applied on Mon Aug 19 15:18:04 BRT 2013
Unique Patch ID: 11805160
Created on 23 Sep 2009, 02:41:32 hrs PST8PDT
Bugs fixed:

OPatch succeeded.

To list the patches using sql :

select * from registry$history;