Subscribe to Posts by Email

Subscriber Count

    700

Disclaimer

All information is offered in good faith and in the hope that it may be of use for educational purpose and for Database community purpose, but is not guaranteed to be correct, up to date or suitable for any particular purpose. db.geeksinsight.com accepts no liability in respect of this information or its use. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content and if notify any such I am happy to remove. Product and company names mentioned in this website may be the trademarks of their respective owners and published here for informational purpose only. This is my personal blog. The views expressed on these pages are mine and learnt from other blogs and bloggers and to enhance and support the DBA community and this web blog does not represent the thoughts, intentions, plans or strategies of my current employer nor the Oracle and its affiliates or any other companies. And this website does not offer or take profit for providing these content and this is purely non-profit and for educational purpose only. If you see any issues with Content and copy write issues, I am happy to remove if you notify me. Contact Geek DBA Team, via geeksinsights@gmail.com

Pages

Opatch: How to check whether the patch require database bounce or not. Means online apply or not.

From 11g onwards Oraclr releasing patches without downtime requirement for some patches.

Opatch command line has now an additional options called query and _is_online_patch which can be used to determine whether the patch can apply online or not.

XXXXXXXX:TEST:UAT $ opatch query -is_online_patch /home/users/oracle/9877980 -invptrloc /u01/in/TEST/oracle/db/11.2.0.2/oraInst.loc
Invoking OPatch 11.2.0.1.1

Oracle Interim Patch Installer version 11.2.0.1.1
Copyright (c) 2009, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/in/TEST/oracle/db/11.2.0.2
Central Inventory : /u01/in/TEST/oracle/orainventory
   from           : /u01/in/TEST/oracle/db/11.2.0.2/oraInst.loc
OPatch version    : 11.2.0.1.1
OUI version       : 11.2.0.2.0
OUI location      : /u01/in/TEST/oracle/db/11.2.0.2/oui
Log file location : /u01/in/TEST/oracle/db/11.2.0.2/cfgtoollogs/opatch/opatch2012-11-07_02-54-03AM.log

Patch history file: /u01/in/TEST/oracle/db/11.2.0.2/cfgtoollogs/opatch/opatch_history.txt

--------------------------------------------------------------------------------
Patch is an online patch: false

OPatch succeeded.
XXXXXXXXX:TEST:UAT $

Here you can see the patch is offline as its false. You cannot apply online.

If you have a patch which is true for online patch you can apply the same using apply online option in opatch.

Opatch apply online

Hope this helps

Thanks
Geek DBA

Comments are closed.