Cleaning up OPatch files
As we were running out of disk space on one of our servers I was reviewing the disk usage and found a directory $ORACLE_HOME/.patch_storage. This was over 2G.
After some digging around I found a method of cleaning up unused files in the area:
- Source your database environment
- Change directory to the OPatch directory:
cd $ORACLE_HOME/OPatch
- Run the OPatch cleanup utility:
opatch util cleanup
Results from our install are shown in this screenshot:
So over 1G of disk space saved!
This facility should be available in the latest OPatch releases for 10.2.0.x and 11.1.0.x (and above…)
Comments are now closed... Please contact us if you have any queries.