Can You Delete $ORACLE_HOME/.patch_storage Directory ? (文档 ID 403218.1)
来源:互联网 发布:西门子编程视频 编辑:程序博客网 时间:2024/06/10 12:41
今天给自己虚拟机打最新的11.2.0.4.6的GI/DB的PSU补丁,碰到坑了,之前虚拟机空间不足,我把.patch_storage给清了,结果就打补丁报错,特此纪念下!
In this Document
APPLIES TO:
Oracle Database - Enterprise Edition - Version 9.2.0.1 to 12.1.0.1 [Release 9.2 to 12.1]Information in this document applies to any platform.
GOAL
Is it necessary to keep the $ORACLE_HOME/.patch_storage directory after successful installation of a patch?
SOLUTION
Yes, It is necessary to keep the $ORACLE_HOME/.patch_storage directory even after successful installation of a patch.
1) When you apply an interim patch to an Oracle home, OPatch stores the patch information in $ORACLE_HOME/.patch_storage directory. Inside this directory, there are separate directories created for each patch applied to the Oracle home. Interim patches are bug fixes that are made available to customers in response to specific bugs. Critical Patch Update (CPU) and Patch Set Updates (PSUs) is also a kind of patche. The latest CPU/PSU will rollback the previously applied CPU/PSU as CPU/PSU is cumulative. So this rollback information is from the .patch_storage directory.
2) You may come across a bug conflict and might want to remove the conflicting patch. This process is known as patch rollback. During patch installation, OPatch saves copies of all the files that were replaced by the new patch before the new versions of these files are loaded and stores it in $ORACLE_HOME/.patch_storage/patch ID/. These saved files are called rollback files and are the key to making patch rollback possible.
3) Every time you apply a patch, you make changes to your inventory. Sometimes that change may corrupt the inventory. From Oracle RDBMS 10.2.0.X.X onwards when you apply a patch, OPatch creates a snapshot of your inventory and stores it in $ORACLE_HOME/.patch_storage/<patch-id_timestamp> directory. The $ORACLE_HOME/.patch_storage/<patch-id_timestamp>/restore.sh script that comes with OPatch to remove any changes that were made to the inventory after the application of the patch.
More over the .patch_storage directory is made hidden also adds to the fact that it should not be deleted. Note 550522.1 can be followed to perform maintenance operation on this directory.
- Can You Delete $ORACLE_HOME/.patch_storage Directory ? (文档 ID 403218.1)
- sp2-0750:you may need oracle_home to you oracle software directory
- SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
- SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
- ubuntu 9.10 下安装ORACLE 出错SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
- 进去到oracle的bin目录下,运行./sqlplus报错,You may need to set ORACLE_HOME to your Oracle software directory
- You can list a directory containing 8 million files! But not with ls..
- VC++ Delete Directory
- How can you disable the UDDI and UDDI Explorer functionality in WebLogic Server? (Doc ID 1274906.1)
- If you want,you can!
- if you want, you can!
- openshift:Perhaps your account does not have write access to this directory? You can change the cac
- 12.2 AIX : PRVG-1901 : failed to setup CVU remote execution framework directory (文档 ID 2260330.1)
- I Can See You 远程控制软件最新下载地址(含所有设计文档)
- [Err] 1093 - You can't specify target table 'matorder' for update in FROM clause 原句:delete from mat
- Error Code: 1093. You can't specify target table,delete或者update的where条件中有子查询解决办法
- Ajax.Can you feel?
- I can feel you
- C语言面试题
- QWidget QMainWindow QDialog 三者区别
- Redis笔记整理2
- UNICODE_STRING的技术总结
- 计算机视觉领域的牛人博客、研究机构等的网页链接
- Can You Delete $ORACLE_HOME/.patch_storage Directory ? (文档 ID 403218.1)
- 营销QQ强制弹出会话窗口代码,并抓取访客QQ号码
- C++字符输入getchar()和字符输出putchar()
- Topdown Kit文档中文版-原创翻译(继续仙剑demo的周边部件)第2篇
- select from update row的实现
- hdu 2147 kiki's game(博弈论)
- <考后>管理经济学总结
- 抽象工厂模式(二):产品等级结构与产品族
- Java Executor