设为首页 加入收藏

TOP

Oracle Patch Bundle Update(一)
2014-11-24 14:16:08 】 浏览:647
Tags:Oracle Patch Bundle Update
Oracle Patch Bundle Update
一、相关知识介绍
以前只知道有CPU(Critical Patch Update)和PSU(Patch Set Update),不知道还有个Bundle Patch,由于出现了TNS-12531的BUG问题,需要在windows上打至少为Patch bundle 22补丁。通过学习查找:
Oracle里的补丁具体分为如下这样6种类型:
Oracle Interim patches: A patch that is applied inbetween patchset releases with the Opatch utility. Interim patches aresometimes also referred to as patchset exceptions.
Oracle Merge patches: A type of interim patch thatmerges multiple fixes to ensure that one fix doesn't overwrite the other. Mergepatches are typically required when a conflict is detected between an existingpatch and a new patch.
Oracle Bundle patches: A type of interim patch that contains fixes to manyimportant bugs, though not as many as a patchset.
Oracle Critical Patch Update (CPU) patches: A typeof interim patch that contains fixes to critical security bugs delivered on aquarterly basis.
Patch Set Updates(PSUs): PSUs are proactivecumulative patches containing recommended bug fixes that are released on aregular and predictable schedule. PSUs are on the same quarterly schedule asthe Critical Patch Updates (CPU), specifically the Tuesday closest to the 15thof January, April, July, and October.
Oracle Patchsets: Software-release mechanisms fordelivering tested and integrated product fixes on a regular basis.
有人认为它只存在于windows系统上,其实在UNIX操作系统上也用该种类型的补丁。之所以这么划分是有其原因的,在Windows系统上,DLL’s(Dynamic Linked Libraries)和库中的可执行文件,不同于其他系统上的库文件,例如,UNIX上的为“.o”结尾的库文件,两者工作原理不同,
当用户在Windows执行补丁修复的时候,在ORACLE HOME中的Oracle的可执行文件将会被补丁中的可执行文件代替。这个行为的结果是,老的补丁将会丢失,所以Windows上不能执行一些个体BUG的修订,代替之的是,许多补丁会组成一起成为一个“Bundle Patch”。
所有的在Windows上的BundlePatch都是一个积累的,它意味着先前的安全告警修复和Bundle Patches都会被包括。
ORACLEDatabase(11.2.0.3.0)的所有的补丁信息都将在11.2.0.3 Patch Set - Availability and Known Issues [ID1348336.1]找到。
在文档ID 161549.1中找到了补丁16803774为最新的Bundle Patch。
二、大致步骤
由于本次做的补丁仅在单机的WINDOWS X64上做,如下步骤:
1、 确保perl的可执行路径在加载到PATH中
set PATH=%ORACLE_HOME%\perl\bin;%PATH%
2、 关闭数据库,确保所有关于oracle的进程都将被关闭。
3、 设置ORACLE_HOME环境变量
SET ORACLE_HOME=
4、进入到 下载的路径
> cd 16803775
5、确保OPatch的执行脚本在你的PATH设置中,执行补丁应用:
>opatch apply
6、如果出现错误,检查%ORACLE_HOME%\cfgtoollogs\opatch 下的补丁日志信息。
7、检查补丁应用的情况,最后不要忘记关注随Patch附带的Known Issues。
三、操作实录
C:\Users\Administrator>d:
D:\>set PATH=%path%;D:\app\Administrator\product\11.2.0\dbhome_1\perl\bin
D:\>set PATH=%path%;D:\app\Administrator\product\11.2.0\dbhome_1\OPatch
D:\>opatch lsinv
The Oracle Home D:\ is not OUI basedhome.Please give proper Oracle Home.
OPatch returns with error code = 1
OPatch succeeded.
D:\>set ORACLE_HOME=D:\app\Administrator\product\11.2.0\dbhome_1\
--执行没有成功,设置正确的ORALCE_HOME后:
D:\>opatch lsinv
Invoking OPatch 11.2.0.1.7
Oracle 中间补丁程序安装程序版本11.2.0.1.7
版权所有 (c) 2011, Oracle Corporation。保留所有权利。
Oracle Home :D:\app\Administrator\product\11.2.0\dbhome_1
Central Inventory : C:\ProgramFiles\Oracle\Inventory
from : n/a
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location :
首页 上一页 1 2 3 4 5 下一页 尾页 1/5/5
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇oracle expdp impdp的简要说明 下一篇关于生产库上索引碎片收集的问题

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目