Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

 DBMS_QOPATCH Tips

Oracle Database Tips by Donald BurlesonMarch 16, 2015

Question:  How do I use the 12c DBMS_QOPATCH package to check my patches?

Answer:  Prior to Oracle 12c, it was not easy to List Oracle patches   In 12c and beyond, you can use the DBMS_QOPATCH package to list all patches.

Rampant author Laurent Schneider, author of the book "Advanced SQL Programming has these notes on DBMS_QOPATCH.

"One of a cool new feature in Oracle 12c is the ability to query Opatch. Oracle offers a set of tables and a PL/SQL package to query the Oracle Inventory.  With the DBMS-QOPATCH procedure, you can query the inventory to know if a one off patch has been deployed, which components have been deployed etc.  Tables related to this feature include:

OPATCH_XML_INV
OPATCH_XINV_TAB
OPATCH_INST_JOB
OPATCH_INST_PATCH

This is the base of the feature which is accessed through a PL/SQL package DBMS_QOPATCH. The DBMS_QOPATCH package has many functions, including:

GET_OPATCH_BUGS
GET_OPATCH_LIST
GET_OPATCH_FILES
IS_PATCH_INSTALLED

For example, if we execute the GET_OPATCH_BUGS (which provides bugs list in a specific patch or for all patches), the result is a XML output:

SQL> select dbms_qopatch.GET_OPATCH_BUGS from dual;

We also see these DBMS-OQPATCH package invocations:

SQL> select dbms_qopatch.GET_OPATCH_FILES from dual;

SQL> select dbms_qopatch.IS_PATCH_INSTALLED from dual;

SQL> select dbms_qopatch.GET_OPATCH_LIST from dual;

The Oracle DBMS-OQPATCH documentation has complete details on using the 12c DBMS-QOPATCH package.

 
 
 
Get the Complete
Oracle Utility Information 

The landmark book "Advanced Oracle Utilities The Definitive Reference"  contains over 600 pages of filled with valuable information on Oracle's secret utilities. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.
 


 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational

 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster