O'Reilly logo

Oracle Data Guard 11gR2 Administration Beginner's Guide by Nassyam Basha, Emre Baransel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to clean up patch history?

If you are applying any CPU, PSU, or interim patches, OPatch will consume a large amount of disk space under $ORACLE_HOME/.patch_storage. To perform a cleanup, use the file orapatch.util.cleanup. The folder patch_storage contains the backup of the affected libraries and modules that have been updated. Cleanup can be performed as follows:

[oracle@oracle-primary ~]$ opatch util cleanup
Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation.  All rights reserved.
................
Invoking utility "cleanup"
OPatch will clean up 'restore.sh,make.txt' files and 'rac,scratch,backup' directories.
You will be still able to rollback patches after this cleanup.
Do you want to proceed? [y|n] ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required