温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Oracle Database补丁使用方法有哪些

发布时间:2021-12-22 09:22:25 来源:亿速云 阅读:230 作者:iii 栏目:关系型数据库

本篇内容介绍了“Oracle Database补丁使用方法有哪些”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

适用于:

Oracle Database - Personal Edition - 版本 10.2.0.3 和更高版本

Oracle Database - Enterprise Edition - 版本 10.2.0.3 和更高版本

Oracle Database - Standard Edition - 版本 10.2.0.3 和更高版本

本文档所含信息适用于所有平台

用途

该文档给出了 oracle 数据库主要补丁使用方法的一个概述。Oracle Database - 数据库补丁使用方法概述

本文概述了 Patch Set Updates,Bundle Patches 等补丁的主要特点,并解释了哪种方法适用于哪种环境。

适用范围

该文档适用于负责数据库补丁安装的 oracle 数据库 DBA 人员。

本文概述了各种补丁的使用方法,这些方法都是为数据库 Base Release 或者 Patch Set Release (PSR)上安装补丁。本文不讨论 Base Release 和 Patch Set Release,只讨论 oracle 数据库,不讨论 Enterprise Manager。

详细信息

Oracle Database - 数据库补丁使用方法概述 (Doc ID 1962125.1)

  • Oracle Database - 数据库补丁使用方法概述 (Doc ID 1962125.1)

    • 已发布补丁使用方法

    • Proactive Patch 类型(SPU/PSU/Bundle Patches)

    • 版本号

    • 测试概述

    • 补丁类型的测试推荐

    • 该使用哪种补丁方法?

    • 更换补丁方法

    • 补丁冲突解决办法

    • 常见问题

    • 当前数据库的 Pro-active Patches

    • Pro-active 数据库补丁的平台/环境/版本

    • Pro-Active 数据库补丁的更多信息

已发布补丁使用方法

Oracle 提供了 pro-active 和 Reactive 两种补丁的维护:

  • Reactive Patches:

    • 每个补丁集都有一个”代码冻结“日期,超过该日期后只有阻碍运行的关键 bug 的修复会被包含进来。

    • 如果一个修复错过了这次的补丁集,它将在后续的补丁集中(如果有的话)被包含进来。

    • 通常被分发为“临时补丁”(Interim Patch)

    • 历史上被称为“一次性”补丁(One-off Patch)

    • 是对特定的 defect、版本、平台组合而按需提供的

    • 经过了基本的完整性测试

    • 这些修复通常在下一个相关的补丁集发布中被包含进来

  • Proactive Patches

    • 解决影响特定配置的有高影响的 bug

    • 包含已证实的低风险修复

    • 取决于受影响的功能,经过了额外级别的测试

    • 在"My Oracle Support"通过点击"Patches & Updates"标签可以获得

Proactive Patch 类型(SPU / PSU / Bundle Patches)

有几种不同类型的 pro-active patch 可以使用。本节概述了主要的 pro-active 补丁方法:

  • Security Patch Update (SPU)

    • 作为 Oracle 的 Critical Patch Update (CPU) 计划的一部分而发布的安全修复程序的集合

    • 以预定义的季度计划交付

    • 数据库 SPU 是 RAC Rolling 和 Standby First 安装的

    • 注意:数据库 SPU 正在从数据库 12c 版本中淘汰- CPU 程序的安全性内容将在 Bundle Patch 或 PSU 中发布(见下文)。

  • Patch Set Update (PSU)

    • 在该领域遇到的已证实有高影响的 bug 的修复程序集合

    • 包括作为 CPU 计划的一部分而发布的安全修复程序

    • 确保不包含任何能改变应用程序行为的优化器更改或修复

    • 可能跨多个产品组件

      例如:"Database Grid Infrastructure PSU" (GI PSU) 同时包含了 GI 和数据库的修复


    • 以预定义的季度计划交付

    • 数据库 PSU 和 GI PSU 通常是可 RAC 滚动应用和备库首先安装的

    • OJVM PSU 既不可 RAC 滚动安装也不可备库首先安装


  • Bundle Patch (BP)

    • 用于解决给定功能、产品或配置的 bug 的一组修复集合。

      例如:Windows Database Bundle Patch, Database Patch for Exadata, Database Proactive Bundle Patch


    • 是 PSU 的一个超集

    • 可能跨越多个产品组件

      例如:"Database Patch for Exadata"即包含数据库的也包含 GI 的修复


    • 以预定义的计划交付,可能比 PSU 发布频率更高

    • 通常是可 RAC 滚动应用和备库首先安装的

    • 截至2016年4月,Database Patch for Engineered Systems and Database In-Memory 已重新命名为"Database Proactive Bundle Patch"

  • "Quarterly Full Stack Download Patch" / "Combo Patch"

    • 若干不同的补丁打包在一起发布

      例如:"Quarterly Full Stack Download Patch for Exadata" 把 "Quarterly Database Patch for Exadata"与 OJVM PSU 还有其他的 Exadata系统补丁包含在一个下载链接中。



  • Other Proactive Patches

    • 在正常的 SPU/PSU/BP 周期之外,oracle 会针对特殊用途发布一些 proactive patches。

      例如:针对客户系统使用最新时区数据的需求,每6个月发布一次特殊的 time-zone 补丁。这样的补丁通常作为“临时补丁”发布。


各种 pro-active patch 方法的数据库补丁内容可以用下图展示:

 

 

BP

 

 

 

 

PSU

 

 

 

 

SPU

 

 

  • SPU 仅包含 CPU 计划的安全修复

  • PSU 包含 CPU 程序安全修复以及其它的 高影响/低风险 的关键性 bug 的修复

  • BP 包含所有 PSU 修复以及针对特定 BP 环境的修复

安装只能使用 SPU,PSU 或者 BP 补丁方法之一。

所有方法都允许安装“临时补丁”,但是根据不同的补丁方法,临时补丁的版本可能也不同。

Windows 平台特殊,因为 windows 上不支持一般的“临时补丁”。

关于当前的和历史的 pro-active 补丁详情,请参阅本文末尾部分的“Pro-Active数据库补丁的更多信息”。

版本号

各种补丁方法都有不同的方式来表示版本信息,详情查看下表:

术语

版本号

举例

Major Release

版本的前2个字段指定(小数点分隔的字段)

11.2

Base Release

Major Release 版本的前4个字段

11.2.0.1

Patch Set Release (PSR)

版本的第4个字段指定

11.2.0.4

Patch Set Update (PSU)

版本的第5个字段指定

11.2.0.4.160419

Bundle Patch (BP)

版本的第5个字段指定,但同时带有文本说明bundle 的系列

Exadata Database Bundle Patch 11.2.0.4.160419

Security Patch Update (SPU)

由月/年指定

11.2.0.4 Jan 2015 SPU

截至2015年11月,Oracle 数据库的最新 Bundle Patches , Patch Set Updates 和 Security Patch Updates 的版本号有了新的格式。下面是新的格式,用发布日期 YYMMDD 格式替代了 bundle 版本的第5个数字字段:

  临时补丁PSU, SPU, Bundle    Patch Set Release
功能 针对该补丁影响的数据库功能的特定领域进行功能回归测试
一套完整的功能回归测试(测试数据库功能的所有领域)一套完整的功能回归测试(测试数据库功能的所有领域)
 验证该fix解决了 bug 的已知症状  
压力基于补丁内容的压力测试的子集全面压力测试
性能基于工作负载性能的回归测试全套性能测试
其他在未打补丁的环境中安装测试在纯净的环境中安装测试安装&升级测试-多种场景
安装使用 EM CC 补丁从之前的 PSU, SPU, bundles 进行“升级”发布之前在 Oracle 内部部署和使用
  安装使用 EM CC 补丁认证测试

补丁类型的测试推荐

建议客户先在测试环境中进行补丁测试,然后再部署到重要的生产环境。

下表给出了各种补丁类型的不同层面的测试建议概述:

  临时补丁PSU, SPUBundle PatchPatch Set Release
安装/回滚 是 是 是
Bug Fix 验证


可能并相关的情况

Admin 活动
不需要基本基本完全
应用功能测试不需要仅核心应用核心及非核心的应用完全
应用性能测试不需要不需要不需要完全

其中:

  • 安装/回滚 = 补丁安装/回滚工作的基本测试。任何类型的补丁都要进行补丁安装和回滚测试。


  • Bug Fix 验证 = 如果你打算安装一个补丁,目的是修复一个 bug,那么你需要验证该 bug fix 能解决该特定 bug 的问题。

    • 对于某些修复,也许无法验证 - 例如:如果该修复解决了一个罕见的竞争条件。


  • Admin 活动 = 软件/系统管理功能:

    • “基本” 被定义为常见功能。 

      例如,“基本” admin 功能,包括验证数据库以及 Grid Infrastructure 关闭和启动,验证监控。



  • 应用功能测试 = 你的应用程序的功能。”核心”表示业务的关键应用程序的功能。


该使用哪种补丁方法?

对于数据库相关的安装该使用哪补丁方法,oracle 给出了如下建议:

  • 每个客户至少要安装 PSU,需要最小限度的测试。

  • 12.1.0.2 客户想要一个更全面的修复补丁集,那么应该安装数据库 Proactive Bundle patch。这比 Patch Set Update (PSU) 要求多一些测试,但是它提供了大量的修复。

  • 因为SPARC SuperCluster 包含了Exadata Storage Cells,所以应该使用和Exadata类似的补丁方法

版本

平台

Exadata

Exadata 

(只对数据库及 Grid Infrastructure 打Patch)

All non-Exadata (RAC)

All non-Exadata (non-RAC)

Windows

12.1.0.2

Quarterly Full Stack Download Patch for Exadata 

Database Proactive Bundle Patch 1

Database Proactive Bundle Patch 1

Database Proactive Bundle Patch 1

Windows Database Bundle Patch

12.1.0.1

Database Grid Infrastructure PSU

Database Grid Infrastructure PSU 
(GI PSU)

Database PSU

11.2.0.4 及之前

Database Patch for Exadata

Database Grid Infrastructure PSU
(GI PSU)
Database PSU


1 "Database Proactive Bundle Patch"比Patch Set Update (PSU) 需要多一些测试,因为它提供了大量的修复。 

undefined

此外

  • 所有情况下都要安装相关的 OJVM PSU


  • 仅在你打算安装的环境上遇到了该特定问题,才安装临时补丁

    • 安装的临时补丁数量要保持最低限度。


数据库 SPU 仍可作为 11g 版本的可用的补丁方法 – 建议过渡到 PSU 补丁模型。

(SPU 可能被认为是最低的变更风险,但是它会让你遗漏那些在相应 PSU 中的重要问题的修复)

更换补丁方法

如果你希望变更补丁方法,你可以在升级到一个新的 Patch Set Release 的时候更换。例如,如果你在 12.1.0.1 上使用 PSU,那么你可以升级到 12.1.0.2 并开始使用 "Database Proactive Bundle Patch"  (DBBP) 来替换。

想要更换补丁方法,而且还要保持在相同的 Patch Set Release / 4 个字段的版本号,你通常需要做如下事情:

  • 完全回滚当前方法安装的补丁

    • 这可能也需要你回滚某些临时补丁 – 把回滚掉的任何临时补丁都记录下来

  • 应用/安装新方法的补丁,至少是相同的 CPU 周期

  • 获取和应用所有临时补丁,需要维持跟替换之前相同的修复

不能在同一个 ORACLE_HOME 下混合 BP 和 DB PSU(或 SPU)补丁方法。

例如:如果你在一个系统上安装了 "Database Proactive Bundle Patch",那么接下来就不可以在该系统上安装"Database PSU" (DB PSU)。你需要保持在 DBBP 补丁或者完全回滚 DBBP 补丁之后应用 DB PSU 补丁来更换补丁方法。


不推荐更换"Database PSU"到"Database SPU"方法。

例如:

  • 从"Database PSU"更换为"Database Proactive Bundle Patch":

    (包括 OJVM PSU 在内的回滚或安装变更,数据库都需要完全停机)

    • 如果使用 OJVM PSU 的话,可能也需要回滚 OJVM PSU

    • 备份你当前的安装

    • 完全回滚/卸载"Database PSU"

    • 应用/安装最新的"Database Proactive Bundle Patch"

    • 应用前面同样被回滚掉的所有临时补丁(包括 OJVM PSU 如果已安装)

补丁冲突解决办法

如果临时补丁与 pro-active 补丁方法之一结合使用,那么很有可能遇到补丁冲突问题。

每季度发布的 proactive patches 作为重要补丁更新程序(DB PSU, Quarterly Database Patch for Exadata,以及 Database Proactive Bundle Patch)的一部分,Oracle 主动为有冲突的现有补丁发布新的临时补丁。新的临时补丁通常跟pro-active bundles 同时发布。

关于解决补丁冲突的信息请参阅如下文档:

  • Document:1941934.1 My Oracle Support Patch Conflict Checker Overview [Video]

  • Document:1091294.1 How to Use the My Oracle Support Conflict Checker Tool for Patches Installed with OPatch [Video]

  • Document:1321267.1 Database Patch Conflict Resolution

常见问题

  • 可以在 non-Exadata 系统上使用"Quarterly Database Patch for Exadata" (11.2.0.x)吗?

    • 不可以,Oracle 不支持这样做。

    • 大多数更新都是专门为 Exadata 上的 Oracle Database (DB_BP) 和 Oracle Clusterware (GI_BP) 创建的 Bundle patches 发行的。Bundle patches 包含的不是 Exadata 特定代码,但是,只能在用于测试目的,或者是为Exadata 系统提供灾难恢复支持的时候,才可以在 non-Exadata 系统上安装这些补丁。只有当 non-Exadata 系统用在 Data Guard 环境中作为 Exadata 系统的备用系统时,Oracle 才为 non-Exadata 系统提供在 Exadata bundle patches 基础上的临时修复。


  • 可以在 non-Exadata 系统上使用"Database Proactive Bundle Patch" (12.1.0.2+)吗?

    • 可以,该补丁在 non-Exadata 系统上是适用的。

    • 该 bundle 的修复信息可能包括一些”Exadata”特定的修复,这是因为 bundle 同样适用于 Exadata 系统。

    • 详情请参阅 Note 1937782.1 12.1.0.2 Database Proactive Bundle Patches / Bundle Patches for Engineered Systems and DB In-Memory - List of Fixes in each Bundle - 每个 bundle 的修复列表。


  • pro-active patches 包括优化器修复吗?

    • "Database SPU" 和 "Database PSU"都不包含优化器修复。

    • "Database Patch for Exadata" 会包含针对错误结果问题的优化器修复,但需要用户按需要个别启动/禁用该功能。

    • "Windows Database Bundle Patch"会包含优化器修复。


  • 如何识别某个安装使用的是什么补丁方法?

    • 检查 opatch lsinventory 的输出结果,查看已经应用了哪些补丁。

      在输出结果中,SPU,PSU 和 BP patches 包括该补丁名字/版本的描述。


  • "Windows Database Bundle Patch"和 "Database Patch for Exadata"等之间有什么区别?

    • 这些 BP 分别针对不同的环境。最新版本将包括相同的 SPU 和 PSU 内容,但是其他所有内容都是特定于目标环境的-可能还有其他一些常见修复,但是在修复的 bugs 上还是有差异的。


  • Pro-active patches 会影响 tracefile 或者数据库视图 v$version 中记录的的数据库版本吗?

    • 不会。补丁级别反映在 opatch lsinventory 数据中,并且,某些补丁类型是反映在 DBA_REGISTRY 或者 DBA_REGISTRY_HISTORY 中。


当前数据库 Pro-active Patches

下表中目前可用的 pro-active 数据库相关补丁的信息,也包括一些已经不再发布的补丁类型。

Pro-active 数据库补丁的平台/环境/版本

下表中” Method/s”列中使用到的简称将在下节中扩展。

平台环境DB 版本
Method/s
微软平台任意10.2.0.4 - 12.1.0.2Windows Bundle, TZ
Unix 平台Exadata12.1.0.1 - 12.1.0.2DBBP, QSFDP for Exadata, OJVM PSU, TZ
11.1.0.7 - 11.2.0.4ExaDBBP, QSFDP for Exadata, OJVM PSU, TZ
RAC12.1.0.1 - 12.1.0.2GI PSU, OJVM PSU, Combo, TZ
11.2.0.1 - 11.2.0.4GI PSU, OJVM PSU, Combo, SPU, TZ
10.2.0.4 - 11.1.0.7DB PSU, CRS PSU, OJVM PSU, SPU, TZ
Non-RAC12.1.0.1 - 12.1.0.2DB PSU, OJVM PSU, Combo, TZ
10.2.0.4 - 11.2.0.4DB PSU, OJVM PSU, Combo, SPU, TZ
其他平台任意任意No new bundles

Pro-Active 数据库补丁的更多信息

Database Patch Set Update
简称DB PSU
目标环境Non-RAC DB 安装在 Unix 平台上。Unix DB 客户端安装。
版本DB 版本 10.2.0.4 及以上
平台Unix 平台
发行季度发行
补丁内容针对数据库以及数据库客户端的重要修复。包括安全(CPU)内容。没有优化器修复
参阅Note:854428.1 General PSU Information
  Note:756671.1 Current Recommended Patches
推荐版本推荐使用最新版本
备注 
  
Database Grid Infrastructure Patch Set Update
简称GI PSU
目标环境RAC DB 安装在 Unix 平台上 (包括单实例 RAC)。
数据库版本DB 版本11.2.0.1 及以上
平台Unix 平台
发行季度发行
补丁内容补丁包括 Grid Infrastructure 的重要修复,也包括匹配的 DB PSU,但*不*包括任何 OJVM PSU
参阅Note:854428.1 General PSU Information
  Note:756671.1 Current Recommended Patches
推荐版本推荐使用最新版本
备注 
  
OJVM Patch Set Update
简称OJVM PSU (2014年10月还有单独的 "JDBC Patch")
目标环境任何 DB 安装都用到 OJVM。
数据库版本
DB 版本 11.1.0.7,11.2.0.3,11.2.0.4,12.1.0.1 及以上
平台所有平台。须知 Windows 平台有特殊的 OJVM PSU 覆盖补丁安装于 Windows BP 上
发行按要求与数据库 PSU 同时发布
补丁内容2014年10月提出 OJVM PSU,但是 OJVM 和 JDBC 有单独的补丁。
2015年1月之后 OJVM PSU 包括 JDBC 针对数据库的修复
参阅Note:1929745.1 OJVM PSU Information
  Note:756671.1 Current Recommended Patches
推荐版本推荐使用最新版本,或者如果没有 OJVM PSU 时,安装 mitigation patch 并启用
备注有"mitigation patch"可以代替 OJVM PSU 使用
  OJVM PSU 不是 RAC Rolling 也不能 Standby First 安装
  2014年10月还有单独的"JDBC Patch"
  
OJVM Patch Set Update "JDBC Patch" (Oct 2014 only)
简称JDBC Patch
目标环境任何 DB,DB client,instance client 或者 Grid Infrastructure 安装都使用 JDBC.
版本JDBC 版本 11.1.0.7,11.2.0.3,11.2.0.4,12.1.0.1
平台所有平台
发行仅在2014年10月作为单独的补丁发布
补丁内容JDBC 安全修复
参阅Note:1929745.1 OJVM PSU Information
  Note:756671.1 Current Recommended Patches
推荐版本推荐在任何使用到 JDBC 的地方都安装该补丁,或者最新 OJVM PSU 的 JDBC 组件
备注从2015年1月之后 OJVM PSU 补丁中包含了 JDBC 修复
  
Combo Patches
简称COMBO Patch
目标环境取决于内容 - COMBO Patches 把补丁都组合在一起很方便
版本DB 版本 11.1.0.7,11.2.0.3,11.2.0.4,12.1.0.1 及以上
平台Unix 平台
发行2014年10月开始每季度发行一次
补丁内容在一个下载中包括不同组件的 Patch Set Updates
参阅Note:756671.1 Current Recommended Patches
  参阅包含组件(DB PSU, GI PSU, OJVM PSU)的文档说明
推荐版本参阅包含组件的建议说明
备注2014年10月 Combo patches 中省略了 JDBC patches
  
Windows Database Bundle Patch
简称Windows Bundle Patch
目标环境DB 以及 DB client 安装在 Microsoft 平台上。
版本DB 所有版本
平台仅 Microsoft 平台
发行发行间隔时间取决于数据库版本。
补丁内容混杂的 bug 修复。每季度会包含 DB PSU 和 OJVM PSU 内容。
参阅Note:161549.1 Patching for Microsoft platforms
推荐版本推荐使用最新季度发行版或更高版本
备注Windows 数据库 Bundle Patches 不包含 OJVM PSU 修复。
有单独可用的 OJVM PSU 补丁。
  
Database Patch for Exadata
简称ExaDBBP (or just BP)
目标环境Exadata 数据库安装
DB 版本
DB 版本 11.2.0.1-11.2.0.4
平台仅 Exadata 系统
发行每月发布,重要补丁内容是包含在季度发行版中(旧的 DB 版本上仅季度发行)
补丁内容混杂的 bug 修复每个月一次,重要的以及安全有关内容每个季度一次
参阅Note:888828.1 Exadata Recommended Patch Information
推荐版本推荐使用最新季度发行版或更高版本
备注每季度最新的 Exadata BP 都包含在” Quarterly Full Stack Download Patch for Exadata”
  
Quarterly Full Stack Download Patch for Exadata
简称QFSDP for Exadata
目标环境仅 Exadata 系统
DB 版本
DB 版本 11.2.0.1 - 11.2.0.4
平台仅 Exadata 系统
发行季度发行
补丁内容包括 Exadata 上的数据库补丁以及其他 Exadata 组件的补丁
参阅Note:888828.1 Exadata Recommended Patch Information
建议测试级别包含比 PSU fix 更多的修复。推荐测试。
推荐版本推荐使用最新版本
备注 
  
Database Proactive Bundle Patch
简称DBBP
目标环境

12c 数据库安装在 Exadata 上。
同样适用于任何使用 Database In-Memory (DBIM) 特性的 12c 系统,RAC 或 non-RAC。数据库和 Grid 的 home 也都适用。

DB 平台
仅 12.1.0.2 及以上。仅适用于企业版。标准版数据库软件应该安装数据库PSU
平台Unix 平台,包括 Exadata 系统,也包括任何使用 DB In-memory(DBIM) 的系统
发行每月发行
补丁内容包括集成系统上的各种杂项修复以及数据库 In-memory 的修复。重要补丁内容包含在季度发行补丁中。也包括 Exadata 和 RAC 系统上的Grid home 的修复。
参阅Note:888828.1 Exadata Recommended Patch Information
  Note:756671.1 Current Recommended Patches
推荐版本推荐使用最新季度发行版
备注从2016年4月开始,新名称” Database Proactive Bundle Patch”,替代了"Database Patch for Engineered Systems and Database In-Memory"。
  
Timezone Patches
简称TZ patch
目标环境DB 和 DB client 安装,当对最新时区数据要求很高时
DB 平台
所有 DB 版本
平台所有平台
发行半年发行一次
补丁内容补丁仅包含时区数据
参阅Note:412160.1 Overview of TZ Patches
推荐版本没有推荐 – 使用该补丁很大程度上取决于应用,以及对于最新的时区信息要求是否很高。在整个企业中如果最新的时区信息很重要,则推荐使用最新版的补丁。
备注需要特殊考虑的情况就是当通过安装补丁来更新时区信息时,通信系统应该使用相同的 TZ 信息。
   
  
Database SPU (previously known as CPU patches)
简称SPU(以前是 CPU)
目标环境DB 安装 在Unix 和 VMS 平台上
DB 平台
所有 DB 版本直到 11.2.0.4
平台Unix 和 VMS 平台
发行季度发行
补丁内容SPU patch 内容仅包含 critical / security 修复。该发行模式不适用于 12c 及以上版本 – 因为 critical / security 内容作为一部分包含在了其他发行模式中。
参阅Note:467881.1  Contains links to the latest SPU information
推荐版本推荐使用"Database PSU"而不是 SPU。如果要使用 SPU,推荐最新版本
Notes该发行模式不适用于 12c 及以上版本 – 因为critical / security 内容作为一部分包含在了其他发行模式中。
  
CRS Patch Set Update
简称CRS bundle
目标环境RAC 系统直到 11.1.0.7
DB 平台
DB 版本 10.2.0.4 到 11.1.0.7
平台Unix 平台
发行不再发行
补丁内容仅针对 CRS stack。对 11.2.0.1 及以上版本使用 GI PSU 来替代
参阅Note:756671.1 Current Recommended Patches
推荐版本升级到 11.2 或更高版本
备注 
  
Interim Patches
简称Interim Patch (or one-off or PSE)
目标环境各种
DB 平台
各种
平台各种
发行按 需要/申请 发行
补丁内容针对一个或者多个特定问题的修复
参阅 
推荐版本建议避免安装太多的 interim patches。
备注建议对要解决的问题做相关的功能测试。


数据库/GI PSU,SPU(CPU),Bundle Patches 和 Patchsets 补丁号码快速参考 (文档 ID 1922396.1)




类型: 状态: 上次主更新: 上次更新: 语言:

REFERENCE PUBLISHED 2017-5-29 2017-5-29 English简体中文日本語???
Oracle Database补丁使用方法有哪些

文档内容


用途

详细信息
 Base Releases
 Patchsets
 PSU, SPU(CPU), Bundle Patches
 12.2.0.1
 12.1.0.2
 12.1.0.1
 11.2.0.4
 11.2.0.3
 11.2.0.2
 11.2.0.1
 11.1.0.7
 11.1.0.6
 10.2.0.5
 10.2.0.4
 10.2.0.3
 10.2.0.2
 10.2.0.1
 10.1.0.5
 10.1.0.4
 10.1.0.3
 10.1.0.2
 9.2.0.8
 9.2.0.7
 9.2.0.6
 9.2.0.5
 9.2.0.4
 8.1.7.4
 OJVM PSU Patches (including Combo Patches)
 12.1.0.2
 12.1.0.1
 11.2.0.4
 11.2.0.3
 11.1.0.7
 Mitigation Patch
 术语:

参考


适用于:

Oracle Database - Enterprise Edition - 版本 8.1.7.4 和更高版本
Oracle Database - Standard Edition - 版本 8.1.7.4 和更高版本
本文档所含信息适用于所有平台

用途

数据库 PSU, SPU(CPU), Bundle Patches 和 Patchsets 补丁号码快速参考。

您是否希望与其他 Oracle 客户、Oracle 员工和业内专家进一步探讨此主题?

请点击这里进入 Oracle 社区(中文)。
请点击这里进入My Oracle Support 社区的数据库安装/升级(英文)主页发现更多的话题和讨论。

详细信息

这个文档仅列出和PSU/SPU同期发布的Windows Bundle Patch,关于 windows 其它的 bundle patch,请参考:
Download Reference for Oracle Database PSU, SPU(CPU), Bundle Patches, Patchsets and Base Releases(Doc ID 2118136.2)

对于12.1之后的数据库版本SPU/CPU并不有效:
Database Security Patching from 12.1.0.1 onwards (Doc ID 1581950.1)

 

Base Releases

12.2.0.1.012.2.0.1.0 Download Page
12.1.0.1.0开一个非技术SR来获取物理介质或下载链接,根据Doc ID 1071023.1
11.2.0.1.011.2.0.1.0 Download Page
Older Versions开一个非技术SR来获取物理介质或下载链接,根据Doc ID 1071023.1

 注意: 对于11.2.0.2或者更高的patchsets, 请参照patch的readme中"Software Availability"部分下的"Table 1 Installation Types and Associated Zip Files"来查找具体哪些zip文件需要下载。

Patchsets

 l12.1.0.2 (12.1.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER) 21419221
 11.2.0.4 (11.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER) 13390677
 11.2.0.3 (11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER) 10404530
 11.2.0.2 (11.2.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER) 10098816
 11.1.0.7 (11.1.0.7.0 PATCH SET FOR ORACLE DATABASE SERVER) 6890831
 10.2.0.5 (10.2.0.5 PATCH SET FOR ORACLE DATABASE SERVER) 8202632
 d10.2.0.4 (10.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER) 6810189
 e10.2.0.3 (10.2.0.3 PATCH SET FOR ORACLE DATABASE SERVER) 5337014
 10.2.0.2 (10.2.0.2 PATCH SET FOR ORACLE DATABASE SERVER) 4547817
 10.1.0.5 (10.1.0.5 PATCH SET FOR ORACLE DATABASE SERVER)
 4505133
 10.1.0.4 (10.1.0.4 PATCH SET FOR ORACLE DATABASE SERVER)
 4163362
 10.1.0.3 (10.1.0.3 PATCH SET FOR ORACLE DATABASE SERVER)
 3761843
 9.2.0.8 (9.2.0.8 PATCH SET FOR ORACLE DATABASE SERVER)
 4547809
 9.2.0.7 (9.2.0.7 PATCH SET FOR ORACLE DATABASE SERVER)
 4163445
 9.2.0.6 (9.2.0.6 PATCH SET FOR ORACLE DATABASE SERVER)
 3948480
 9.2.0.5 (ORACLE 9I DATABASE SERVER RELEASE 2 - PATCH SET 4 VERSION 9.2.0.5.0)
 3501955
 9.2.0.4 (9.2.0.4 PATCH SET FOR ORACLE DATABASE SERVER) 
 3095277
 9.2.0.3 (9.2.0.3 PATCH SET FOR ORACLE DATABASE SERVER)
 2761332
 9.2.0.2 (9.2.0.2 PATCH SET FOR ORACLE DATABASE SERVER)
 2632931
 9.0.1.5 (9.0.1.5 PATCHSET)
 3301544
 9.0.1.4 (9.0.1.4 PATCH SET FOR ORACLE DATABASE SERVER)
 2517300
 9.0.1.3 (9.0.1.3. PATCH SET FOR ORACLE DATA SERVER)
 2271678
 8.1.7.4 (8.1.7.4 PATCH SET FOR ORACLE DATA SERVER)
 2376472
 8.1.7.3 (8.1.7.3 PATCH SET FOR ORACLE DATA SERVER)
 2189751
 8.1.7.2 (8.1.7.2.1 PATCH SET FOR ORACLE DATA SERVER)
 1909158

PSU, SPU(CPU), Bundle Patches

 
12.2.0.1
 Description PSU   GI PSUProactive Bundle Patch Bundle Patch(Windows 32bit & 64bit)
APR2017  

25793908 (12.2.0.1.170516) - 仅适用于 Linux x86-64

 
 
12.1.0.2
 Description PSU   GI PSUProactive Bundle Patch Bundle Patch(Windows 32bit & 64bit)
 APR2017 25171037 (12.1.0.2.170418) 25434003 (12.1.0.2.170418)

 25433352 (12.1.0.2.170418)


 25632533(12.1.0.2.170418)
 JAN2017 24732082 (12.1.0.2.170117) 24917825 (12.1.0.2.170117) 24968615 (12.1.0.2.170117) 25115951(12.1.0.2.170117)
 OCT2016 24006101 (12.1.0.2.161018) 24412235 (12.1.0.2.161018) 24448103 (12.1.0.2.161018) 24591642(12.1.0.2.161018)
 JUL2016 23054246 (12.1.0.2.160719) 23273629 (12.1.0.2.160719) 23273686 (12.1.0.2.160719) 23530387(12.1.0.2.160719)
 APR2016 22291127 (12.1.0.2.160419) 22646084 (12.1.0.2.160419) 22899531 22809813(12.1.0.2.160419)
 JAN2016 21948354 (12.1.0.2.160119) 22191349 (12.1.0.2.160119) 22243551 22310559(12.1.0.2.160119)
 OCT2015 21359755 (12.1.0.2.5) 21523234 (12.1.0.2.5) 21744410 (12.1.0.2.13) 21821214(12.1.0.2.10)
 JUL2015 20831110 (12.1.0.2.4) 20996835 (12.1.0.2.4) 21188742 (12.1.0.2.10) 21126814(12.1.0.2.7)
 APR2015 20299023 (12.1.0.2.3) 20485724 (12.1.0.2.3) 20698050 (12.1.0.2.7) 20684004(12.1.0.2.4)
 JAN2015 19769480 (12.1.0.2.2) 19954978 (12.1.0.2.2) 20141343 (12.1.0.2.4) 19720843(12.1.0.2.1)
 OCT2014 19303936 (12.1.0.2.1) 19392646 (12.1.0.2.1) 19404326 (12.1.0.2.1) N/A
12.1.0.1
 Description PSU GI PSU  Bundle Patch (Windows64bit) Bundle Patch (Windows32bit)
 aJUL2016 23054354 (12.1.0.1.160719) i23273935 / k23273958 (12.1.0.1.160719)23530410 (12.1.0.1.160719)
 APR2016 22291141 (12.1.0.1.160419) i22654153 / k22654166 (12.1.0.1.160419)22617408 (12.1.0.1.160419)
 JAN2016 21951844 (12.1.0.1.160119) j22191492 / k22191511 (12.1.0.1.160119)22494866 (12.1.0.2.160119)
 OCT2015 21352619 (12.1.0.1.9) j21551666 / k21551685 (12.1.0.1.9)21744907 (12.1.0.1.21)
 JUL2015 20831107 (12.1.0.1.8)  j20996901 / k20996911 (12.1.0.1.8)21076681  (12.1.0.1.20)
 APR2015 20299016 (12.1.0.1.7)  j20485762 / k19971331 (12.1.0.1.7)20558101 (12.1.0.1.18)
 JAN2015 19769486 (12.1.0.1.6) j19971324 / k19971331 (12.1.0.1.6)20160748 (12.1.0.1.16)
 OCT2014 19121550 (12.1.0.1.5) j19392372 / k19392451 (12.1.0.1.5)19542943 (12.1.0.1.14)
 JUL2014 18522516 (12.1.0.1.4) j18705901 / k18705972 (12.1.0.1.4)19062327 (12.1.0.1.11)
 APR2014 18031528 (12.1.0.1.3) j18139660 / k18413105  (12.1.0.1.3)18448604 (12.1.0.1.7)
 JAN2014 17552800 (12.1.0.1.2) 17735306 (12.1.0.1.2)17977915 (12.1.0.1.3)
 OCT2013 17027533 (12.1.0.1.1) 17272829 (12.1.0.1.1) 17363796 (12.1.0.1.1) 17363795 (12.1.0.1.1)
11.2.0.4
 Description PSU SPU(CPU) GI PSU Bundle Patch (Windows 32bit & 64bit)
 APR2017 24732075 (11.2.0.4.170418) 25369547 (11.2.0.4.170418) 25476126 (11.2.0.4.170418) 25632525 (11.2.0.4.170418)
 mJAN2017 N/A N/A N/A N/A
 OCT2016 24006111 (11.2.0.4.161018) 24433711 (11.2.0.4.161018) 24436338 (11.2.0.4.161018) 24922870 (11.2.0.4.161118)
 JUL2016 23054359 (11.2.0.4.160719) 23177648 (11.2.0.4.160719) 23274134 (11.2.0.4.160719) 23530402 (11.2.0.4.160719)
 APR2016 22502456 (11.2.0.4.160419) 22502493 (11.2.0.4.160419) 22646198 (11.2.0.4.160419) 22839608 (11.2.0.4.160419)
 JAN2016 21948347 (11.2.0.4.160119) 21972320 (11.2.0.4.160119) 22191577 (11.2.0.4.160119) 22310544 (11.2.0.4.160119)
 OCT2015 21352635 (11.2.0.4.8) 21352646 21523375 (11.2.0.4.8) 21821802 (11.2.0.4.20)
 JUL2015 20760982 (11.2.0.4.7) 20803583 20996923 (11.2.0.4.7) 21469106 (11.2.0.4.18)
 APR2015 20299013 (11.2.0.4.6) 20299015 20485808 (11.2.0.4.6) 20544696 (11.2.0.4.15)
 JAN2015 19769489 (11.2.0.4.5) 19854503 19955028 (11.2.0.4.5) 20127071 (11.2.0.4.12)
 OCT2014 19121551 (11.2.0.4.4) 19271443 19380115 (11.2.0.4.4) 19651773 (11.2.0.4.10)
 JUL2014 18522509 (11.2.0.4.3) 18681862 18706472 (11.2.0.4.3) 18842982 (11.2.0.4.7)
 APR2014 18031668 (11.2.0.4.2) 18139690 18139609 (11.2.0.4.2) 18296644 (11.2.0.4.4)
 JAN2014 17478514 (11.2.0.4.1) 17551709 N/A 17987366 (11.2.0.4.1)
11.2.0.3
 Description PSU SPU(CPU) GI PSU Bundle Patch (Windows64bit) Bundle Patch (Windows32bit)
 aJUL2015 20760997 (11.2.0.3.15) 20803576 20996944 (11.2.0.3.15) 21104036 21104035
 APR2015 20299017 (11.2.0.3.14) 20299010 20485830 (11.2.0.3.14) 20420395 20420394
 JAN2015 19769496 (11.2.0.3.13) 19854461 19971343 (11.2.0.3.13) 20233168 20233167
 OCT2014 19121548 (11.2.0.3.12) 19271438 19440385 (11.2.0.3.12) 19618575 19618574
 JUL2014 18522512 (11.2.0.3.11) 18681866 18706488 (11.2.0.3.11) 18940194 18940193
 APR2014 18031683 (11.2.0.3.10) 18139695 18139678 (11.2.0.3.10) 18372244 18372243
 JAN2014 17540582 (11.2.0.3.9) 17478415 17735354 (11.2.0.3.9) 18075406 17906981
 OCT2013 16902043 (11.2.0.3.8) 17082364 17272731 (11.2.0.3.8) 17363850 17363844
 JUL2013 16619892 (11.2.0.3.7) 16742095 16742216 (11.2.0.3.7) 16803775 16803774
 APR2013 16056266 (11.2.0.3.6) 16294378 16083653 (11.2.0.3.6) 16345834 16345833
 JAN2013 14727310 (11.2.0.3.5) 14841409 14727347 (11.2.0.3.5) 16042648 16042647
 OCT2012 14275605 (11.2.0.3.4) 14390252 14275572 (11.2.0.3.4) 14613223 14613222
 JUL2012 13923374 (11.2.0.3.3) 14038787 13919095 (11.2.0.3.3) 14223718 14223717
 APR2012 13696216 (11.2.0.3.2) 13632717 13696251 (11.2.0.3.2) 13885389 13885388
 JAN2012 13343438 (11.2.0.3.1) 13466801 13348650 (11.2.0.3.1) 13413168 13413167
11.2.0.2
 Description PSU  SPU(CPU) GI PSU Bundle Patch (Windows64bit) Bundle Patch (Windows32bit)
 aOCT2013 17082367 (11.2.0.2.12) 17082375 17272753 (11.2.0.2.12) 17363838 17363837
 JUL2013 16619893 (11.2.0.2.11) 16742100 16742320 (11.2.0.2.11) 16345852 16345851
 APR2013 16056267 (11.2.0.2.10) 16294412 16166868 (11.2.0.2.10) 16345846 16345845
 JAN2013 14727315 (11.2.0.2.9) 14841437 14841385 (11.2.0.2.9) 16100399 16100398
 OCT2012 14275621 (11.2.0.2.8) 14390377 14390437 (11.2.0.2.8) 14672268 14672267 
 JUL2012 13923804 (11.2.0.2.7) 14038791 14192201 (11.2.0.2.7) 14134043 14134042
 APR2012 13696224 (11.2.0.2.6) 13632725 13696242 (11.2.0.2.6) 13697074 13697073
 JAN2012 13343424 (11.2.0.2.5) 13343244 13653086 (11.2.0.2.5) 13413155 13413154
 OCT2011 12827726 (11.2.0.2.4) 12828071 12827731 (11.2.0.2.4) 13038788 13038787
 JUL2011 12419331 (11.2.0.2.3) 12419321 12419353 (11.2.0.2.3) 12714463 12714462
 APR2011 11724916 (11.2.0.2.2) 11724984 12311357 (11.2.0.2.2) 11896292 11896290
 JAN2011 10248523 (11.2.0.2.1) N/A N/A 10432053 10432052
 
11.2.0.1
 Description PSU CPU Bundle Patch (Windows64bit) Bundle Patch (Windows32bit)
 aJUL2011 12419378 (11.2.0.1.6) 12419278 12429529 12429528
 APR2011 11724930 (11.2.0.1.5) 11724991 11731176 11883240
 JAN2011 10248516 (11.2.0.1.4) 10249532 10432045 10432044
 OCT2010 9952216 (11.2.0.1.3) 9952260 10100101 10100100
 JUL2010 9654983 (11.2.0.1.2) 9655013 9736865 9736864
 APR2010 9352237 (11.2.0.1.1) 9369797 N/A N/A
 
11.1.0.7
 Description PSU SPU(CPU) Bundle Patch (Windows64bit) Bundle Patch (Windows32bit)
JUL2015  20761024 (11.1.0.7.24) 20803573 21104030 21104029
APR2015  20299012 (11.1.0.7.23) 20299020 20420391 20420390
JAN2015  19769499 (11.1.0.7.22) 19854433 20126915 20126914
OCT2014  19152553 (11.1.0.7.21) 19274522 19609034 19609032
JUL2014  18522513 (11.1.0.7.20) 18681875 18944208 18944207
APR2014 18031726 (11.1.0.7.19) 18139703 18372258 18372257
JAN2014  17465583 (11.1.0.7.18) 17551415 17906936 17906935
OCT2013 17082366 (11.1.0.7.17) 17082374 17363760 17363759
JUL2013  16619896 (11.1.0.7.16) 16742110 16803788 16803787
APR2013 16056268 (11.1.0.7.15) 16308394 16345862 16345861
JAN2013 14739378 (11.1.0.7.14) 14841452 15848067 15848066
OCT2012 14275623 (11.1.0.7.13) 14390384 14672313 14672312
 JUL2012 13923474 (11.1.0.7.12) 14038803 14109868 14109867
 APR2012 13621679 (11.1.0.7.11) 13632731 13715810 13715809
 JAN2012 13343461 (11.1.0.7.10) 13343453 13460956 13460955
 OCT2011 12827740 (11.1.0.7.9) 12828097 12914916 12914915
 JUL2011 12419384 (11.1.0.7.8) 12419265 12695278 12695277
 APR2011 11724936 (11.1.0.7.7) 11724999 11741170 11741169
 JAN2011 10248531 (11.1.0.7.6) 10249534 10350788 10350787
 OCT2010 9952228  (11.1.0.7.5) 9952269 9773825 9773817
 JUL2010 9654987 (11.1.0.7.4) 9655014 9869912 9869911
 APR2010 9352179 (11.1.0.7.3) 9369783 9392335 9392331
 JAN2010 9209238 (11.1.0.7.2) 9114072 9166861 9166858
 OCT2009 8833297 (11.1.0.7.1) 8836375 8928977 8928976
 JUL2009 N/A 8534338 8553515 8553512
 APR2009 N/A 8290478 8343070 8343061
 
11.1.0.6
 Description CPU Bundle Patch (Windows64bit) Bundle Patch (Windows32bit)
 aJUL2009 8534378 8563155 8563154 
 APR2009 8290402 8333657 8333655 
 JAN2009 7592335 7631981 7631980 
 OCT2008 7375639 7378393 7378392 
 JUL2008 7150417 7210197 7210195 
 APR2008 6864063 6867180 6867178 
 
10.2.0.5
 Description PSU SPU(CPU) Bundle Patch (Windows64bit) Bundle Patch (Windows32bit) Bundle Patch(WindowsItanium)
 bJUL2015 20299014 (10.2.0.5.19) 20299021 20420387 20420386 N/A
 APR2015 N/A N/A N/A N/A N/A
 JAN2015 19769505 (10.2.0.5.18) 19854436 20126868 20126867 N/A
 OCT2014 19274523 (10.2.0.5.17) 19274521 19618565 19618563 N/A
 JUL2014 18522511 (10.2.0.5.16) 18681879 18940198 18940196 N/A
 APR2014 18031728 (10.2.0.5.15) 18139709 18372261 18372259 N/A
 JAN2014 17465584 (10.2.0.5.14) 17551414 17906974 17906972 N/A
 OCT2013 17082365 (10.2.0.5.13) 17082371 N/A 17363822 N/A
 JUL2013 16619894 (10.2.0.5.12) 16742123 16803782 16803780 16803781
 APR2013 16056270 (10.2.0.5.11) 16270946 16345857 16345855 16345856
 JAN2013 14727319 (10.2.0.5.10) 14841459 15848062 15848060 15848061
 OCT2012 14275629 (10.2.0.5.9) 14390396 14553358 14553356 14553357
 JUL2012 13923855 (10.2.0.5.8) 14038805 14134053 14134051 14134052
 APR2012 13632743 (10.2.0.5.7) 13632738 13654815 13654814 13870404
 JAN2012 13343471 (10.2.0.5.6) 13343467 1346096813460967 N/A
 OCT2011 12827745 (10.2.0.5.5) 12828105 c12914913 12914911 N/A
 JUL2011 12419392 (10.2.0.5.4) 12419258 12429524 12429523 N/A
 APR2011 11724962 (10.2.0.5.3) 11725006 12328269 12328268 N/A
 JAN2011 10248542 (10.2.0.5.2) 10249537 10352673 10352672 N/A
 OCT2010 9952230 (10.2.0.5.1) 9952270 10099855 10058290 N/A
 
10.2.0.4
 Description PSU SPU(CPU) Bundle Patch (Windows32bit) Bundle Patch (Windows64bit) Bundle Patch(WindowsItanium)
 gJUL2013 16619897 (10.2.0.4.17) 16742253 N/A N/A N/A
 gAPR2013 16056269 (10.2.0.4.16) 16270931 N/A N/A N/A
 gJAN2013 14736542 (10.2.0.4.15) 14841471 N/A N/A N/A
gOCT2012 14275630 (10.2.0.4.14) 14390410 N/A N/A N/A
gJUL2012 13923851 (10.2.0.4.13) 14038814 N/A N/A N/A
 aAPR2012 12879933 (10.2.0.4.12) 12879926 13928775 13928776 N/A
 JAN2012 12879929 (10.2.0.4.11) 12879912 b13654060 N/A N/A
 OCT2011 12827778 (10.2.0.4.10) 12828112 12914908 12914910 12914909
 JUL2011 12419397 (10.2.0.4.9) 12419249 12429519 12429521 12429520
 APR2011 11724977 (10.2.0.4.8) 11725015 12328501 12328503 12328502
 JAN2011 10248636 (10.2.0.4.7) 10249540 10349197 10349200 10349198
 OCT2010 9952234 (10.2.0.4.6) 9952272 10084980 10084982 10084981
 JUL2010 9654991 (10.2.0.4.5) 9655017 9777076 9777078 9777077
 APR2010 9352164 (10.2.0.4.4) 9352191 9393548 9393550 9393549
 JAN2010 9119284 (10.2.0.4.3) 9119226 9169457 9169460 9169458
 OCT2009 8833280 (10.2.0.4.2) 8836308 8880857 8880861 8880858
 JUL2009 8576156 (10.2.0.4.1) 8534387 8559466 8559467 8541782
 APR2009 N/A 8290506 8307237 8307238 8333678
 JAN2009 N/A 7592346 7584866 7584867 N/A
 OCT2008 N/A 7375644 7386320 7386321 N/A
 JUL2008 N/A 7150470 7218676 7218677 N/A
 
10.2.0.3
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit) Bundle Patch (WindowsItanium) Bundle Patch (Windows64bit)
 aJAN2009 7592354 7631956 7631958 7631957
 OCT2008 7369190 7353782 7353784 7353785
 JUL2008 7150622 7252496 7252497 7252498
 APR2008 6864068 6867054 6867055 6867056
 JAN2008 6646853 6637237 6637238 6637239
 OCT2007 6394981 6430171 6430173 6430174
 JUL2007 6079591 6116131 6038242 6116139
 APR2007 5901891 5948242 5916262 5948243
 JAN2007 5881721 5846376 5846377 5846378
 
10.2.0.2
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit)  Bundle Patch (Windows64bit) Bundle Patch (WindowsItanium)
 iJAN2009 7592355 N/A N/A N/A
 hOCT2008 7375660 N/A N/A N/A
 hJUL2008 7154083 N/A N/A N/A
 hAPR2008 6864071 N/A N/A N/A
 aJAN2008 6646850 N/A N/A N/A
 fOCT2007 6394997 6397028 6397030 6397029
 JUL2007 6079588 6013105 6013121 6013118
 APR2007 5901881 5912173 5912179 5912176
 JAN2007 5689957 5716143 5699839 5699824
 OCT2006 5490848 5502226 5500921 5500894
 JUL2006 5225799 5251025 5251028 5251026
 APR2006 5079037 5140461 5140567 5140508
 
10.2.0.1
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit) Bundle Patch (Windows64bit) Bundle Patch (WindowsItanium)
 APR2007 5901880 N/A N/A N/A
 JAN2007 5689937 5695784 5695786 5695785
 OCT2006 5490846 5500927 5500954 5500951
 JUL2006 5225798 5239698 5239701 5239699
 APR2006 5049080 5059238 5059261 5059251
 JAN2006 4751931 4751539 4770480 4751549
 
10.1.0.5
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit)  Bundle Patch (WindowsItanium)
 JAN2012 13343482 13413002 13413003
 OCT2011 12828135 12914905 12914906
 JUL2011 12419228 12429517 12429518
 APR2011 11725035 11731119 11731120
 JAN2011 N/A N/A N/A
 OCT2010 9952279 10089559 10089560
 JUL2010 9655023 9683651 9683652
 APR2010 9352208 9390288 9390289
 JAN2010 9119261 9187104 9187105
 OCT2009 8836540 8785211 8785212
 JUL2009 8534394 8656224 8656226
 APR2009 8290534 8300356 8300360
 JAN2009 7592360 7486619 7586049
 OCT2008 7375686 7367493 7367494
 JUL2008 7154097 7047034 7047037
 APR2008 6864078 6867107 6867108
 JAN2008 6647005 6637274 6637275
 OCT2007 6395024 6408393 6408394
 JUL2007 6079585 6115804 6115818
 APR2007 5901877 5907304 5907305
 JAN2007 5689908 5716295 5634747
 OCT2006 5490845 5500883 5500885
 JUL2006 5225797 5251148 5251140
 APR2006 5049074 5057606 5057609
 JAN2006 4751932 4882231 4882236
 
10.1.0.4
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit) Bundle Patch (WindowsItanium)
 APR2007 5901876 5909871 5909879
 JAN2007 5689894 5695771 5695772
 OCT2006 5490844 5500878 5500880
 JUL2006 5225796 5239736 5239737
 APR2006 5049067 5059200 5059227
 JAN2006 4751928 4751259 4745040
 OCT2005 4567866 4579182 4579188
 JUL2005 4392423 4440706 4404600
 APR2005 4210374 4287619 4287611
 
10.1.0.3
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit) Bundle Patch (WindowsItanium)
 JAN2007 5923277 N/A N/A
 OCT2006 5566825 N/A N/A
 JUL2006 5435164 N/A N/A
 APR2006 5158022 N/A N/A
 JAN2006 4751926 4741077 4741084
 OCT2005 4567863 4567518 4567523
 JUL2005 4392409 4389012 4389014
 APR2005 4193286 4269715 4158888
 JAN2005 4003062 4074232 3990812
 
10.1.0.2
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit) Bundle Patch (WindowsItanium)
 APR2005 4193293 4181849 4213305
 JUL2005 4400766 4388944 4388948
 JAN2005 4003051 4104364 4083038
 
9.2.0.8
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit) Bundle Patch (WindowsItanium)
 JUL2010 9655027 9683644 9683645
 APR2010 9352224 9390286 N/A
 JAN2010 9119275 9187106 N/A
 OCT2009 8836758 8785185 8785186
 JUL2009 8534403 8427417 8427418
 APR2009 8290549 8300340 8300346
 JAN2009 7592365 7703210 7703212
 OCT2008 7375695 7394394 7394402
 JUL2008 7154111 7047026 7047029
 APR2008 6864082 6867138 6867139
 JAN2008 6646842 6637265 6637266
 OCT2007 6395038 6417013 6417014
 JUL2007 6079582 6130293 6130295
 APR2007 5901875 5916268 5916275
 JAN2007 N/A    N/A    N/A   
 OCT2006 5490859 5652380 5639519
 
9.2.0.7
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit) Bundle Patch (WindowsItanium)
 JUL2007 6079579 6146759 6146748
 APR2007 5901872 5907274 5907275
 JAN2007 5689875 5654905 5654909
 OCT2006 5490841 5500873 5500874
 JUL2006 5225794 5250980 5250981
 APR2006 5049060 5064365 5064364
 JAN2006 4751923 4751528 4741074
 OCT2005 4567854 4579590 4579599
 JUL2005 4547566 N/A    N/A   
 
9.2.0.6
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit) Bundle Patch (WindowsItanium)
 OCT2006 5490840 5500865 5500871
 JUL2006 5225793 5239794 5239793
 APR2006 5049051 5059614 5059615
 JAN2006 4751921 4751261 4751262
 OCT2005 4567846 4579093 4579097
 JUL2005 4392392 4445852 4401917
 APR2005 4193295 4269928 4213298
 
9.2.0.5
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit) Bundle Patch (WindowsItanium)
 OCT2006 5689708 N/A N/A
 JUL2006 5435138 N/A N/A
 APR2006 5219762 N/A N/A
 OCT2005 4560421 N/A N/A
 JUL2005 4392256 4387563 4391819
 APR2005 4193299 4195791 4214192
 JAN2005 4003006 4104374 3990809
 
9.2.0.4
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit) Bundle Patch (WindowsItanium)
 JAN2005 4002994 4104369 4083202
 
8.1.7.4
 Description CPU (Unix/Linux) Bundle Patch (Windows32bit)
 JAN2007 5689799 5686514
 OCT2006 5490835 5496067
 JUL2006 5225788 5236412
 APR2006 5045247 5057601
 JAN2006 4751906 4751570
 OCT2005 4560405 4554818
 JUL2005 4392446 4437058
 APR2005 4193312 4180163
 JAN2005 4002909 3921893

OJVM PSU Patches (including Combo Patches)

 
12.1.0.2
 Description OJVM PSU (Linux/Unix) OJVM BP (Windows) Combo OJVM + DB PSU Combo OJVM + GI PSU Generic JDBC
 APR2017 (12.1.0.2.170418) 25437695 25590993 25433980 25434018 Included in OJVM PSU
 JAN2017 24917972 (12.1.0.2.170117) 25112498 (12.1.0.2.170117) 24917069 (12.1.0.2.170117) 24917916 (12.1.0.2.170117) Included in OJVM PSU
 OCT2016 24315824 (12.1.0.2.161018) 24591630 (12.1.0.2.161018) 24433133 (12.1.0.2.161018) 24433148 (12.1.0.2.161018) Included in OJVM PSU
 JUL2016 23177536 (12.1.0.2.160719) 23515290 (12.1.0.2.160719) 23615289 (12.1.0.2.160719) 23615308 (12.1.0.2.160719) 23727148 (Included in OJVM PSU)
 APR2016 22674709 (12.1.0.2.160419) 22839633 (12.1.0.2.160419) 22738582 (12.1.0.2.160419) 22738641 (12.1.0.2.160419) 
 JAN2016 22139226 (12.1.0.2.160119) 22311086 (12.1.0.2.160119) 22191659 (12.1.0.2.160119) 22191676 (12.1.0.2.160119)
 OCT2015 21555660 (12.1.0.2.5) 21788394 (12.1.0.2.4) 21520444 21523260
 JUL2015 21068507 (12.1.0.2.4) 21153530 (12.1.0.2.3) 21150768 21150782
 APR2015 20415564 (12.1.0.2.3) 20391199 (12.1.0.2.2) 20834354 20834538
 JAN2015 19877336 (12.1.0.2.2) 20225938 (12.1.0.2.1) 20132434 20132450
 OCT2014 (12.1.0.2.1) 19282028  19791366 19791375
 
12.1.0.1
 Description OJVM PSU (Linux/Unix) OJVM BP (Windows) Combo OJVM + DB PSU Combo OJVM + GI PSU Generic JDBC
 aJUL2016 (12.1.0.1.160719) 23177541 23515285 23615355 23615368

 23727043 (Included in OJVM PSU)

 APR2016 (12.1.0.1.160419) 22674703 22839627 22738678 22738715 Included in OJVM PSU
 JAN2016 (12.1.0.1.160119) 22139235 22311072 22191711 22191721
 OCT2015 (12.1.0.1.5) 21555669 21788365 21744318 21744328
 JUL2015 (12.1.0.1.4) 21068523 21153513 21150806 21150817
 APR2015 (12.1.0.1.3) 20406245 20225909 20834568 20834579
 JAN2015 (12.1.0.1.2) 19877342 20225916 20132482 20132489
 OCT2014 (12.1.0.1.1) 19282024 19801531 19791363 19791360 19852357
 
11.2.0.4
 Description OJVM PSU (Linux/Unix) OJVM BP (Windows)  Combo OJVM + DB PSU Combo OJVM + DB SPU Combo OJVM + GI PSU Generic JDBC
 APR2017 (11.2.0.4.170418) 25434033 25590979 25440428 25476166 25440422

Included in OJVM PSU

 JAN2017 (11.2.0.4.170117) 24917954 25043019 24918033 25367810 24918228

 Included in OJVM PSU

 OCT2016 (11.2.0.4.161018) 24315821 24591637 24436313 24433791 24436346

 Included in OJVM PSU

 JUL2016 (11.2.0.4.160719) 23177551 23515277 23615392 23615381 23615403

 23727132 (Included in OJVM PSU)

 APR2016 (11.2.0.4.160419) 22674697 22839614 22738777 22738732 22738793Included in OJVM PSU
 JAN2016 (11.2.0.4.160119) 22139245 22311053 22378146 22378121 22378167
 OCT2015 (11.2.0.4.5) 21555791 21788344 21744343 21744335 21744348
 JUL2015 (11.2.0.4.4) 21068539 21153498 21150851 21150829 21150864
 APR2015 (11.2.0.4.3) 20406239 20225988 20834611 20834597 20834621
 JAN2015 (11.2.0.4.2) 19877440 20225982 20132580 20132517 20132615
 OCT2014 (11.2.0.4.1) 1928202119799291 19791364 19791358 19791420 19852360
 
11.2.0.3
 Description OJVM PSU (Linux/Unix) OJVM BP (Windows)Combo OJVM + DB PSU Combo OJVM + DB SPUCombo OJVM + GI PSU Generic JDBC
 JUL2015 (11.2.0.3.4)21068553 2115347021150891 21150885  21150904


 Included in OJVM PSU

 APR2015 (11.2.0.3.3)20406220 203911852083467020834653  20834686
 JAN2015 (11.2.0.3.2)19877443 202271952013264620132635 20132651
 OCT2014 (11.2.0.3.1)19282015 1980612019791427197914261979142819852361
 
11.1.0.7
DescriptionOJVM PSU (Linux/Unix) OJVM BP (Windows)Combo OJVM + DB PSUCombo OJVM + DB SPU Combo OJVM + GI PSUGeneric JDBC
 JUL2015 (11.1.0.7.4) 21068565 21153423 21150939 21150929  N/A


  Included in OJVM PSU

 APR2015 (11.1.0.7.3) 20406213 20391156 20834724 20834712  N/A
 JAN2015 (11.1.0.7.2) 19877446 20227146 20132677 20132669  N/A  
 OCT2014 (11.1.0.7.1) 19282002 19806118 19791436 19791434  N/A 19852363

术语:

a  对于大部分 OS 平台,这个 patch 是最终的 patch (Final Patch)。对于 Windows 平台,请参考 Note.2118136.2的Latest Available Microsoft Windows Patches部分。

b  您需要有 Extended Support license 才能下载这个 patch。(如果产品处于Sustaining Support期间则补丁可以下载)

c  已删除/不可用。

d  Windows  Vista/7/2008/2008R2 (64bit)除外。如需安装介质,请开一个 SR 来获取。

e  Windows  Vista/7/2008 (32bit)除外。如需安装介质,请开一个SR来获取。

f  10.2.0.2上, CPUOCT200 7是如下平台的最终的 CPU:IBM z/OS 390, Linux x86, Solaris, Solaris 64-bit, Windows 32-bit, Windows 64-bit 和 Windows AMD 64 platforms。

g  在 JAN2013 前,可以在这些平台申请:Apple Mac OS X, HP Open VMS-Alpha, HP Open VMS-Itanium & Oracle Solaris x86 (32-bit);在那之后,只可以在这些平台申请:Apple Mac OS X & Oracle Solaris x86 (32-bit)。

h 在 10.2.0.2 上,只在如下平台上可用:HP OpenVMS Itanium, Oracle Solaris on x86(32-bit) & HP OpenVMS Alpha。

i 在 10.2.0.2 上, 只在如下平台上可用:HP OpenVMS Itanium & HP OpenVMS Alpha

j适用于Linux x86-64, Solaris X64 和 Solaris SPARC

k 只在 AIX, HP IA 和 zLinux 平台可用,包含了 DB PSU 12.1.0.1.3 sub-patch,没有包含 clusterware sub-patches。

l Oracle 12c 标准版2 (12.1.0.2) 请参考 Note.2027072.1

m 对于Jan 2017 PSU 周期来说,因为并没有新发现的 CPU 安全问题,所以没有发布当期的11.2.0.4版本上的Database SPU,PSU以及Exadata BP。

缩略词

PSU - Patch Set Update

SPU - Security Patch Update

CPU - Critical Patch Update

GI PSU - Grid Infrastructure Patch Set Update

BP - Bundle Patch

OJVM - Oracle Java Virtual Machine

参考

NOTE:1963039.1 - Latest Patch Set Update and Critical Patch Update Availability Document
NOTE:756671.1 - Oracle Recommended Patches -- Oracle Database
NOTE:1430923.1 - New Patch Nomenclature for Oracle Products
NOTE:1938931.1 - Missing JDBC Patches for October 2014 "Oracle JavaVM Component Database PSU"
NOTE:1071023.1 - How to Request Software Media when it is Unavailable on the Oracle Software Delivery Cloud site
NOTE:148054.1 - Oracle Database 8.1.7 (8i) & 8.1.7.x (8i) Notice 2 of 2
NOTE:783141.1 - Reference List of Critical Patch Update Availability(CPU) and Patch Set Update (PSU) Documents For Oracle Database and Fusion Middleware Product
NOTE:1351428.2 - Information Center: Patching and Maintaining Oracle Database Server/Client Installations
NOTE:274526.1 - How To Download And Install The Latest OPatch(6880880) Version
NOTE:1929745.1 - Oracle Recommended Patches -- "Oracle JavaVM Component Database PSU" (OJVM PSU) Patches
NOTE:293369.1 - Master Note For OPatch
NOTE:1474666.1 - How to apply OC4J patch (13705478) on RDBMS home
NOTE:161549.1 - Oracle Database, CRS, ASM, Networking and EM Agent Patches for Microsoft Platforms
NOTE:802103.1 - Oracle Recommended Patches -- Previous Oracle Database Recommended Patches
NOTE:1581950.1 - Database Security Patching from 12.1.0.1 onwards



Oracle Recommended Patches -- Oracle Database (文档 ID 756671.1)


类型: 状态: 上次主更新: 上次更新: 语言:

ANNOUNCEMENT PUBLISHED 2017-4-19 2017-4-19 English日本語
Oracle Database补丁使用方法有哪些

Oracle Recommended Patches -- Oracle Database

  • Introduction

  • Target Configurations

  • Patch Availability

  • Current Recommended Patches

    • 12.1.0.2 Current Recommended Patches

    • 12.1.0.1 Current Recommended Patches

    • 11.2.0.4 Current Recommended Patches

    • 11.2.0.3 Current Recommended Patches

    • 11.2.0.2 Current Recommended Patches

    • 11.2.0.1 Current Recommended Patches

    • 11.1.0.7 Current Recommended Patches

    • 11.1.0.6 Current Recommended Patches

    • 10.2.0.5 Current Recommended Patches

    • 10.2.0.4 Current Recommended Patches

    • 10.2.0.3 Current Recommended Patches

  • Conflict Resolution

  • On Request

  • Known Issues

  • References

INTRODUCTION

Beginning with version 10.2.0.3, Oracle releases Recommended Patches for Oracle Database.

  • See Note:756388.1 for an introduction to Recommended Patches.

Beginning with version 10.2.0.4, Recommended Patches for Generic, RAC and DataGuard issues are released in the form of Patch Set Updates (PSU).

  • See Note:854428.1 for an introduction to Patch Set Updates.

As of October 2014 Oracle releases "Oracle JavaVM Component Database Patch Set Update" (OJVM PSU) patches in addition to other Patch Set Updates.

  • See Note:1929745.1 for an introduction to "Oracle JavaVM Component Database PSU"


This document gives information about the current Recommended Patches for each Oracle Database version.

TARGET CONFIGURATIONS

Recommended Patches are provided for the following target configurations:

  • Generic

  • Real Application Clusters

  • Data Guard

  • Exadata

  • Ebusiness Suite Certification

PATCH AVAILABILITY

Recommended Patches are released on all platforms at the same time. They are generally available on the following platforms: HP-UX PA-RISC, Solaris Operating System (SPARC 64-Bit), HP-UX Itanium, IBM AIX on POWER Systems (64-Bit), Linux x86 (32-bit), and Linux x86-64.

Oracle provides bundled patches for Microsoft Windows platforms. Recommended patches are included in these bundles rather than as separately downloadable patches. See Note:161549.1 for details of the bundled patches for Microsoft platforms. It is recommended to apply the most current Windows bundle patch .

Patches on other platforms are created on request.

Recommended Patches, including Patch Set Updates, have the same certification and OS version support as the 4 digit database version they are for.

Please note that Grid Infrastructure (GI) PSU Patches are applicable to both RAC environments and Oracle Restart (GI Standalone) environments.

CURRENT RECOMMENDED PATCHES

12.1.0.2 Current Recommended Patches

Exadata

DocumentDescriptionRolling RACPatch Download
Note:888828.1Recommended Patch Information for Exadata Database Machine and Exadata Storage Server--
Note:25440397.812.1.0.2 (Apr 2017) Quarterly Full Stack Download Patch for Exadata (Linux and Solaris AMD)PartPatch:25440397
Note:25440395.812.1.0.2 (Apr 2017) Quarterly Full Stack Download Patch for SuperClusterPartPatch:25440395

Exadata (when patching just DB & Grid)

DocumentDescriptionRolling RACPatch Download
Note:25437795.8Combo of 12.1.0.2.170418 OJVM PSU and 12.1.0.2.170418 DBBP (Apr 2017)PartPatch:25437795
Note:25437695.8Oracle JavaVM Component 12.1.0.2.170418 Database PSU (Apr 2017) (OJVM PSU)NoPatch:25437695
Note:25433352.812.1.0.2.170418 Database Proactive Bundle Patch (Apr 2017)YesPatch:25433352

Non Exadata Real Application Clusters (RAC)

DocumentDescriptionRolling RACPatch Download
Note:25437795.8Combo of 12.1.0.2.170418 OJVM PSU and 12.1.0.2.170418 DBBP (Apr 2017)PartPatch:25437795
Note:25437695.8Oracle JavaVM Component 12.1.0.2.170418 Database PSU (Apr 2017) (OJVM PSU)NoPatch:25437695
Note:25434018.8Combo of 12.1.0.2.170418 OJVM PSU and 12.1.0.2.170418 GI PSU (Apr 2017)PartPatch:25434018
Note:25434003.812.1.0.2.170418 (Apr 2017) Grid Infrastructure Patch Set Update (GI PSU)YesPatch:25434003
Note:25433352.812.1.0.2.170418 Database Proactive Bundle Patch (Apr 2017)YesPatch:25433352

Non Exadata Non RAC

DocumentDescriptionRolling RACPatch Download
Note:25437795.8Combo of 12.1.0.2.170418 OJVM PSU and 12.1.0.2.170418 DBBP (Apr 2017)PartPatch:25437795
Note:25437695.8Oracle JavaVM Component 12.1.0.2.170418 Database PSU (Apr 2017) (OJVM PSU)NoPatch:25437695
Note:25433980.8Combo of 12.1.0.2.170418 OJVM PSU and 12.1.0.2.170418 DB PSU (Apr 2017)PartPatch:25433980
Note:25433352.812.1.0.2.170418 Database Proactive Bundle Patch (Apr 2017)YesPatch:25433352
Note:25171037.812.1.0.2.170418 (Apr 2017) Database Patch Set Update (DB PSU)YesPatch:25171037

Windows

DocumentDescriptionRolling RACPatch Download
Note:25632533.812.1.0.2.170418 (Apr 2017) Windows DB Bundle PatchYesPatch:25632533
Note:25590993.812.1.0.2.170418 (Apr 2017) Windows Oracle JavaVM Component BundleNoPatch:25590993

Miscellaneous

DocumentDescriptionRolling RACPatch Download
Note:23727148.8Oracle JavaVM Component 12.1.0.2.160719 Database PSU - Generic JDBC Patch (Jul 2016)YesPatch:23727148

Also see:


  • Note:2034610.1 Things to Consider Before Upgrading to 12.1.0.2 to Avoid Poor Performance or Wrong Results

12.1.0.1 Current Recommended Patches

Exadata

DocumentDescriptionRolling RACPatch Download
Note:888828.1Recommended Patch Information for Exadata Database Machine and Exadata Storage Server--
Note:23274284.812.1.0.1 (Jul 2016) Quarterly Full Stack Download Patch for SuperClusterPartPatch:23274284
Note:23274265.812.1.0.1 (Jul 2016) Quarterly Full Stack Download Patch for Exadata (Linux and Solaris AMD)PartPatch:23274265

Exadata (when patching just DB & Grid)

DocumentDescriptionRolling RACPatch Download
Note:23615368.8Combo of 12.1.0.1.160719 OJVM PSU and 12.1.0.1.160719 GI PSU (Jul 2016)PartPatch:23615368
Note:23273935.8Linux/Solaris: 12.1.0.1.160719 (Jul 2016) Grid Infrastructure Patch Set Update (GI PSU)YesPatch:23273935
Note:23177541.8Oracle JavaVM Component 12.1.0.1.160719 Database PSU (Jul 2016) (OJVM PSU)NoPatch:23177541

Non Exadata Real Application Clusters (RAC)

DocumentDescriptionRolling RACPatch Download
Note:23615368.8Combo of 12.1.0.1.160719 OJVM PSU and 12.1.0.1.160719 GI PSU (Jul 2016)PartPatch:23615368
Note:23273958.8AIX/HP/zLinux: 12.1.0.1.160719 (Jul 2016) Grid Infrastructure Patch Set Update (GI PSU)YesPatch:23273958
Note:23273935.8Linux/Solaris: 12.1.0.1.160719 (Jul 2016) Grid Infrastructure Patch Set Update (GI PSU)YesPatch:23273935
Note:23177541.8Oracle JavaVM Component 12.1.0.1.160719 Database PSU (Jul 2016) (OJVM PSU)NoPatch:23177541

Non Exadata Non RAC

DocumentDescriptionRolling RACPatch Download
Note:23615355.8Combo of 12.1.0.1.160719 OJVM PSU and 12.1.0.1.160719 DB PSU (Jul 2016)PartPatch:23615355
Note:23177541.8Oracle JavaVM Component 12.1.0.1.160719 Database PSU (Jul 2016) (OJVM PSU)NoPatch:23177541
Note:23054354.812.1.0.1.160719 (Jul 2016) Database Patch Set Update (DB PSU)YesPatch:23054354

Windows

DocumentDescriptionRolling RACPatch Download
Note:23530410.812.1.0.1.160719 (Jul 2016) Windows DB Bundle PatchYesPatch:23530410
Note:23515285.812.1.0.1.160719 (Jul 2016) Windows Oracle JavaVM Component BundleNoPatch:23515285

Miscellaneous

DocumentDescriptionRolling RACPatch Download
Note:23727043.8Oracle JavaVM Component 12.1.0.1.160719 Database PSU - Generic JDBC Patch (Jul 2016)YesPatch:23727043

11.2.0.4 Current Recommended Patches

Exadata

DocumentDescriptionRolling RACPatch Download
Note:888828.1Recommended Patch Information for Exadata Database Machine and Exadata Storage Server--
Note:25440393.811.2.0.4 (Apr 2017) Quarterly Full Stack Download Patch for Exadata (Linux and Solaris AMD)PartPatch:25440393
Note:25440390.811.2.0.4 (Apr 2017) Quarterly Full Stack Download Patch for SuperClusterPartPatch:25440390

Exadata (when patching just DB & Grid)

DocumentDescriptionRolling RACPatch Download
Note:25440417.8Combo of 11.2.0.4.170418 OJVM PSU and 11.2.0.4.170418 Exadata Bundle Patch (Apr 2017)PartPatch:25440417
Note:25440411.8Exadata Database Bundle Patch 11.2.0.4.170418 (Apr 2017)YesPatch:25440411
Note:25434033.8Oracle JavaVM Component 11.2.0.4.170418 Database PSU (Apr 2017) (OJVM PSU)NoPatch:25434033

Non Exadata Real Application Clusters (RAC)

DocumentDescriptionRolling RACPatch Download
Note:25476126.811.2.0.4.170418 (Apr 2017) Grid Infrastructure Patch Set Update (GI PSU)YesPatch:25476126
Note:25440422.8Combo of 11.2.0.4.170418 OJVM PSU and 11.2.0.4.170418 GI PSU (Apr 2017)PartPatch:25440422
Note:25434033.8Oracle JavaVM Component 11.2.0.4.170418 Database PSU (Apr 2017) (OJVM PSU)NoPatch:25434033

Non Exadata Non RAC

DocumentDescriptionRolling RACPatch Download
Note:25440428.8Combo of 11.2.0.4.170418 OJVM PSU and 11.2.0.4.170418 DB PSU (Apr 2017)PartPatch:25440428
Note:25434033.8Oracle JavaVM Component 11.2.0.4.170418 Database PSU (Apr 2017) (OJVM PSU)NoPatch:25434033
Note:24732075.811.2.0.4.170418 (Apr 2017) Database Patch Set Update (DB PSU)YesPatch:24732075

Windows

DocumentDescriptionRolling RACPatch Download
Note:25632525.811.2.0.4.170418 (Apr 2017) Windows DB Bundle PatchYesPatch:25632525
Note:25590979.811.2.0.4.170418 (Apr 2017) Windows Oracle JavaVM Component BundleNoPatch:25590979

Miscellaneous

DocumentDescriptionRolling RACPatch Download
Note:23727132.8Oracle JavaVM Component 11.2.0.4.160719 Database PSU - Generic JDBC Patch (Jul 2016)YesPatch:23727132
Note:20877677.8AIX: 11.2.0.4 N-apply patch for critical AIX fixes - Bundle #2YesPatch:20877677

Also see:


  • Note:1645862.1 Things to Consider Before Upgrading to 11.2.0.4 to Avoid Poor Performance or Wrong Results

11.2.0.3 Current Recommended Patches

Patch Set Updates

DocumentDescriptionRolling RACPatch Download
Note:21150891.8Combo of 11.2.0.3.4 OJVM PSU and 11.2.0.3.15 DB PSU (Jul 2015)PartPatch:21150891
Note:21068553.8Oracle JavaVM Component 11.2.0.3.4 Database PSU (Jul 2015) (OJVM PSU)NoPatch:21068553
Note:20760997.811.2.0.3.15 (Jul 2015) Database Patch Set Update (DB PSU)YesPatch:20760997
Note:19852361.8Oracle JavaVM Component 11.2.0.3.1 Database PSU - Generic JDBC Patch (Oct 2014)YesPatch:19852361

Grid Infrastructure

DocumentDescriptionRolling RACPatch Download
Note:21150904.8Combo of 11.2.0.3.4 OJVM PSU and 11.2.0.3.15 GI PSU (Jul 2015)PartPatch:21150904
Note:20996944.811.2.0.3.15 (Jul 2015) Grid Infrastructure Patch Set Update (GI PSU)YesPatch:20996944
Note:19852361.8Oracle JavaVM Component 11.2.0.3.1 Database PSU - Generic JDBC Patch (Oct 2014)YesPatch:19852361

Exadata

DocumentDescriptionRolling RACPatch Download
Note:888828.1Recommended Patch Information for Exadata Database Machine and Exadata Storage Server--

EBusiness Suite R11i Certification

DocumentDescriptionRolling RACPatch Download
Note:881505.1Interoperability Notes for Oracle E-Business Suite Release 11i with Oracle Database 11.2.0.3--

EBusiness Suite R12 Certification

DocumentDescriptionRolling RACPatch Download
Note:1058763.1Interoperability Notes for Oracle E-Business Suite Release 12 with Oracle Database 11.2.0.3--

Miscellaneous Fixes

DocumentDescriptionRolling RACPatch Download
Note:20165285.8AIX: 11.2.0.3 N-apply patch for critcal AIX fixes - Bundle #3YesPatch:20165285

Also see:


  • Note:1392633.1 Things to Consider Before Upgrading to 11.2.0.3 to Avoid Poor Performance or Wrong Results

11.2.0.2 Current Recommended Patches

Note: 11.2.0.2 is outside of patching policy. It is advisable to use a newer Patch Set or release.

Patch Set Updates

DocumentDescriptionRolling RACPatch Download
Note:17082367.811.2.0.2.12 (Oct 2013) Database Patch Set Update (PSU)YesPatch:17082367

Grid Infrastructure

DocumentDescriptionRolling RACPatch Download
Note:17272753.811.2.0.2.12 (Oct 2013) Grid Infrastructure Patch Set Update (GI PSU)YesPatch:17272753

Exadata

DocumentDescriptionRolling RACPatch Download
Note:888828.1Recommended Patch Information for Exadata Database Machine and Exadata Storage Server--

EBusiness Suite R11i Certification

DocumentDescriptionRolling RACPatch Download
Note:1367654.1Interoperability Notes for Oracle E-Business Suite Release 11i with Oracle Database 11.2.0.2--

EBusiness Suite R12 Certification

DocumentDescriptionRolling RACPatch Download
Note:1367644.1Interoperability Notes for Oracle E-Business Suite Release 12 with Oracle Database 11.2.0.2--

Also see:


  • Note:1320966.1 Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results

11.2.0.1 Current Recommended Patches

Note: 11.2.0.1 is outside of patching policy. It is advisable to use a newer Patch Set or release.

Patch Set Updates

DocumentDescriptionRolling RACPatch Download
Note:12419378.811.2.0.1.6 (Jul 2011) Database Patch Set Update (PSU)YesPatch:12419378

Grid Infrastructure

DocumentDescriptionRolling RACPatch Download
Note:9655006.811.2.0.1.2 (Jul 2010) Grid Infrastructure Patch Set Update (GI PSU)YesPatch:9655006

Exadata

DocumentDescriptionRolling RACPatch Download
Note:888828.1Recommended Patch Information for Exadata Database Machine and Exadata Storage Server--

EBusiness Suite R11i Certification

DocumentDescriptionRolling RACPatch Download
Note:1265268.1Interoperability Notes for Oracle E-Business Suite Release 11i with Oracle Database 11.2.0.1--

EBusiness Suite R12 Certification

DocumentDescriptionRolling RACPatch Download
Note:1265232.1Interoperability Notes for Oracle E-Business Suite Release 12 with Oracle Database 11.2.0.1--

11.1.0.7 Current Recommended Patches

Patch Set Updates

DocumentDescriptionRolling RACPatch Download
Note:21150939.8Combo of 11.1.0.7.4 OJVM PSU and 11.1.0.7.24 DB PSU (Jul 2015)PartPatch:21150939
Note:21068565.8Oracle JavaVM Component 11.1.0.7.4 Database PSU (Jul 2015) (OJVM PSU)NoPatch:21068565
Note:20761024.811.1.0.7.24 (Jul 2015) Database Patch Set Update (DB PSU)YesPatch:20761024
Note:19852363.8Oracle JavaVM Component 11.1.0.7.1 Database PSU - Generic JDBC Patch (Oct 2014)YesPatch:19852363

CRS

DocumentDescriptionRolling RACPatch Download
Note:11724953.811.1.0.7.7 CRS Patch Set Update (CRS PSU)YesPatch:11724953

Data Guard

DocumentDescriptionRolling RACPatch Download
Note:7628357.811.1.0.7 Data Guard Broker Recommended Patch Bundle #1NoPatch:7628357

Exadata

DocumentDescriptionRolling RACPatch Download
Note:835032.1Recommended Patch Information for Database Machine and Exadata Storage Server 11g Release 1 (11.1)--
Note:19852363.8Oracle JavaVM Component 11.1.0.7.1 Database PSU - Generic JDBC Patch (Oct 2014)YesPatch:19852363

EBusiness Suite R11i Certification

DocumentDescriptionRolling RACPatch Download
Note:452783.1Interoperability Notes for Oracle E-Business Suite Release 11i with Oracle Database 11.1.0.7--
Note:7295298.8Poor Subquery filter order / Queries against ALL_OBJECTS can be slowYesPatch:7295298
Note:7253531.8A dump [ttci2u] passing LOB data over heterogeneous connection with multibyteYesPatch:7253531
Note:6530141.8False ORA-979 can occur on an UPDATE DMLYesPatch:6530141

EBusiness Suite R12 Certification

DocumentDescriptionRolling RACPatch Download
Note:735276.1Interoperability Notes for Oracle E-Business Suite Release 12 with Oracle Database 11.1.0.7--
Note:7684818.811.1.0.7 EBusiness Suite R12 Certification Patch Bundle #1YesPatch:7684818
Note:7630760.8HPUX: 11.1.0.7 patch install deletes libskgxp11.aNoPatch:7630760
Note:7253531.8A dump [ttci2u] passing LOB data over heterogeneous connection with multibyteYesPatch:7253531

11.1.0.6 Current Recommended Patches

Note: 11.1.0.6 is outside of patching policy. It is advisable to use a newer Patch Set or release.

EBusiness Suite R11i Certification

DocumentDescriptionRolling RACPatch Download
Note:9196488.8PLS-306 executing procedure on 11g from lower version PLSQL clientNoPatch:9196488
Note:7253531.8A dump [ttci2u] passing LOB data over heterogeneous connection with multibyteYesPatch:7253531
Note:6972189.8Invalid package bodies when using _load_without_compile optionYesPatch:6972189
Note:6778860.811.1.0.6 EBusiness Suite R11 Certification Patch Bundle #1NoPatch:6778860
Note:6501565.8Dump under JVM from JIT of Java class compiled with old Java compilerNoPatch:6501565

EBusiness Suite R12 Certification

DocumentDescriptionRolling RACPatch Download
Note:7377378.811.1.0.6 EBusiness Suite R12 Certification Patch Bundle #1YesPatch:7377378
Note:7253531.8A dump [ttci2u] passing LOB data over heterogeneous connection with multibyteYesPatch:7253531
Note:6991626.8Datapump export fails with ORA-39126 / ORA-22813YesPatch:6991626
Note:6815733.8OERI [qctcte1] from cost based transformation with subquery in ORDER BY clauseYesPatch:6815733
Note:6598432.8ORA-1466 from read-only transaction when client / server in different timezonesYesPatch:6598432
Note:6266400.8A dump can occur in kokbTabFuncRewriteYesPatch:6266400

10.2.0.5 Current Recommended Patches

Patch Set Updates

DocumentDescriptionRolling RACPatch Download
Note:16619894.810.2.0.5.12 (Jul 2013) Database Patch Set Update (PSU)YesPatch:16619894

CRS

DocumentDescriptionRolling RACPatch Download
Note:9952245.810.2.0.5.2 CRS Patch Set Update (CRS PSU)YesPatch:9952245

10.2.0.4 Current Recommended Patches

Oracle introduced Patch Set Updates (PSU) for 10.2.0.4 which include recommended fixes for generic , RAC and DataGuard issues. 
The PSU should be treated as the recommended patch for these areas - additional recommendations may be listed below under relevant areas. 
Please read Note:854428.1 for an introduction to Patch Set Updates. 

Note: 10.2.0.4 is outside of patching policy. Database PSU 10.2.0.4.13 onwards are only available on limited platforms.

Patch Set Updates

DocumentDescriptionRolling RACPatch Download
Note:16619897.810.2.0.4.17 (Jul 2013) Database Patch Set Update (PSU) Overlay [limited platforms]YesPatch:16619897
Note:9352164.810.2.0.4.4 (Apr 2010) Database Patch Set Update (PSU)YesPatch:9352164

Generic

DocumentDescriptionRolling RACPatch Download
Note:9572766.8Recommended merge fix for bug 6994194 and bug 8830147YesPatch:9572766

RAC

DocumentDescriptionRolling RACPatch Download
Note:6367097.8Recommended on HP Itanium: RAC diagnostics can abort the instance (LMS ORA-484)YesPatch:6367097
Note:6079224.8Recommended on Linux: RAC ORA-27506 / IPC Send timeoutYesPatch:6079224

CRS

DocumentDescriptionRolling RACPatch Download
Note:9294403.810.2.0.4.4 CRS Patch Set Update (CRS PSU)YesPatch:9294403

EBusiness Suite R12 Certification

DocumentDescriptionRolling RACPatch Download
Note:7014646.8OERI [kkocxj : pjpctx] from complex queryYesPatch:7014646

10.2.0.3 Current Recommended Patches

Note: 10.2.0.3 is outside of patching policy.

RAC

DocumentDescriptionRolling RACPatch Download
Note:7145055.810.2.0.3 RAC Recommended Patch Bundle #2YesPatch:7145055

CRS

DocumentDescriptionRolling RACPatch Download
Note:7117233.810.2.0.3 CRS Recommended Patch Bundle #3YesPatch:7117233

Data Guard

DocumentDescriptionRolling RACPatch Download
Note:6909784.8Recommended Merge Fix for bug 6128197 with Data Guard LogicalNoPatch:6909784
Note:6081556.810.2.0.3 Data Guard RMAN Recommended Patch Bundle #1YesPatch:6081556
Note:6081550.810.2.0.3 Data Guard Logical Recommended Patch Bundle #1NoPatch:6081550
Note:6081547.810.2.0.3 Data Guard Physical Recommended Patch Bundle #1YesPatch:6081547
Note:6048286.810.2.0.3 Data Guard Broker Recommended Patch #1NoPatch:6048286

EBusiness Suite R11i Certification

DocumentDescriptionRolling RACPatch Download
Note:6166683.8Z-Linux: ctxhx missing from 10.2.0.3YesPatch:6166683
Note:412271.1Upgrade to 10.2.0.3 can fail with ORA-600 [22635]YesPatch:5892355
Note:5871314.8Pickler fix needed to allow some DB upgrade / downgrade to workYesPatch:5871314
Note:5257698.89idata NLS files missing leading to file handle leakNoPatch:5257698

EBusiness Suite R12 Certification

DocumentDescriptionRolling RACPatch Download
Note:6319846.8EBusiness Suite R12 Certification Recommended Patch BundleYesPatch:6319846
Note:5240469.8Linux-X86 64bit: genoccish generates lots of errorsNoPatch:5240469

Miscellaneous Fixes

DocumentDescriptionRolling RACPatch Download
Note:6875865.8Database instrumentation for OCMYesPatch:6875865
Note:6869828.8Recommended Merge Fix of 6122097 and 5903829YesPatch:6869828
Note:471479.1IOT corruption after upgrade from <= 9.2 to >= 10gYesPatch:6646613
Note:6455161.8Higher CPU / Higher "cache buffer chains" latch gets / Higher "consistent gets" after truncate/RebuildNoPatch:6455161
Note:453259.1OERI[kcrfr_resize2] / cannot recover databaseNoPatch:6128197
Note:453309.1OERI[kcbo_link_q_1] / crash with fix for bug 5454831 installedYesPatch:6017420
Note:5949701.8Recommended Merge Fix of 5648872 and 5863277YesPatch:5949701
Note:455832.1Client <= 9.2.0.7 / 10.1.0.4 can dump when running against higher level databaseNoPatch:5933477
Note:5907779.8Self deadlock hang on "cursor: pin S wait on X" (typically from DBMS_STATS)NoPatch:5907779
Note:5896963.8High LGWR CPU and longer "log file sync" with fix for bug 5065930YesPatch:5896963
Note:5765958.8OERI[qcscpqbTxt] / OERI[qcsfbdnp:1] from ANSI query in PLSQLNoPatch:5765958
Note:5728380.8DML may spin under ktspffc searching for space in ASSM segmentNoPatch:5728380
Note:454464.1Various dumps / instance crash possibleYesPatch:5605370
Note:5577046.8ADD or DROP attribute causes UNION query to fail with ORA-1790YesPatch:5577046
Note:5514109.8OERI [kql-hash-collision] / false ORA-955NoPatch:5514109
Note:5364143.8Bind Peeking is not done upon query reload, Execution Plan changesYesPatch:5364143
Note:5363584.8Array insert into table can corrupt redoYesPatch:5363584
Note:4899479.8Undo/redo corruption if distributed transactions usedNoPatch:4899479

CONFLICT RESOLUTION

If you encounter a patch conflict while installing a Recommended Patch:

  • For conflicts with a Patch Set Update:

    • See "Patch Conflict Resolution" in Note:854428.1 "Patch Set Updates for Oracle Products"

    • See Note:1061295.1 "Patch Set Updates - One-off Patch Conflict Resolution" which includes links to documents with known conflict resolutions

  • For older non-PSU Recommended Patches:

    • Patch conflict resolution is provided using the same mechanism as the database Critical Patch Updates.

    • See Note:438314.1 "Critical Patch Update - Introduction to Database n-Apply CPU Patches".

For general information about various types of patch conflict see Note:1321267.1 "Database Patch conflict resolution"

ON REQUEST

To obtain Recommended Patches for a platform not in the patch availability list, file a service request (SR) with Oracle Global Support. A request may be made at any time. Either the current Recommended Patches or the next Recommended patches for a given target configuration will be provided depending on when the request is received and processed.

KNOWN ISSUES

For Known Issues with any of the Recommended Patches, please click on the Document link in the tables above against the relevant version and target configuration.

REFERENCES

NOTE:756388.1 - Introduction to Recommended Patches
Note:854428.1 - Introduction to Patch Set Updates for Oracle Products.
Note:1929745.1 - Introduction to "Oracle JavaVM Component Database PSU" (OJVM PSU) Patches
Note:1454618.1 - Quick Reference To Patch Numbers For Database PSU, SPU(CPU) And Bundle Patches 
NOTE:438314.1 - Critical Patch Update - Introduction to Database n-Apply CPU Patches
NOTE:161549.1 - Oracle Database Server and Networking Patches for Microsoft Platforms
NOTE:743126.1 - RAC on Windows: How to Apply Oracle Windows Mini Patch Bundles in a Rolling Fashion
Note:331.1 - Oracle Database 11.2.0.x Patching & Maintenance Advisor
Note:1320966.1 - Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results 
Note:1392633.1 - Things to Consider Before Upgrading to 11.2.0.3 to Avoid Poor Performance or Wrong Results 
Note:1645862.1 - Things to Consider Before Upgrading to 11.2.0.4 to Avoid Poor Performance or Wrong Results 
Note:2034610.1 - Things to Consider Before Upgrading to 12.1.0.2 to Avoid Poor Performance or Wrong Results 
Note:802103.1 - Previous (superseded) Recommended Patches




从以前的 11.2.0.N 版本非原地手动升级到最新的 11.2.0.N 补丁集的完整核对清单 (文档 ID 1602485.1)

类型: 状态: 上次主更新: 上次更新: 语言:
HOWTO PUBLISHED 2016-3-9 2016-7-5 English简体中文日本語???

文档内容


目标
 提问,获得帮助,并分享您对于这篇文档的经验。

解决方案

参考

适用于:

Oracle Database - Enterprise Edition - 版本 11.2.0.1 到 11.2.0.4 [发行版 11.2]
本文档所含信息适用于所有平台

目标

本文介绍如何执行从 11.2.0.1 到 11.2.0.2 或更高版本的非原地数据库手动升级。

提问,获得帮助,并分享您对于这篇文档的经验。

您是否希望与其他 Oracle 客户、Oracle 员工和业内专家进一步探讨此主题?

请点击这里进入Oracle 社区(中文).
请点击这里进入My Oracle Support 社区的数据库安装/升级(英文)主页发现更多的话题和讨论。

解决方案

11.2.0.2 和及更高版本的补丁集是完整版本。11.2 补丁集安装程序不更新现有 11.2 安装。
不论您是执行非原地升级还是原地升级,安装过程都将执行新安装。
(请参阅 11.2 Upgrade Guide 第 3 章“Known Issue When Starting an In-Place Upgrade for Release 11.2.0.2”或更高版本的说明

从 11.2.0.2 开始,有两种方法来安装补丁集:

  • 非原地升级(推荐)

  • 原地升级

  •  

    “原地”升级选项可选,但并非推荐选项。
    该升级可以完成。但是,您不能简单地运行 11.2.0.2 的安装程序并指向 原来的11.2.0.1。

    “原地”升级步骤记录在 Upgrade Guide 中(见下文)。
    原地升级(升级到同一个Oracle Home)

有关详细信息,请参阅以下说明:

Note 1189783.1 Important Changes to Oracle Database Patch Sets Starting With 11.2.0.2
Note 1320966.1 Things to Consider before upgrading to 11.2.0.2.x regarding performance/wrong results

假如Mitigation Patch 1972130应用在原数据库上,然后Oracle JVM component被禁止。当升级数据库的时候你可能会遇到下面的错误。
ORA-02290 - check constraint (SYS.JAVA_DEV_DISABLED) violated.
在开始升级数据库前,在原数据库上打开Oralce JVM java component。

Connect to the database as a SYSDBA user
SQL> exec dbms_java_dev.enable;

参照:Database Upgrade failed with Errors “ORA-02290: check constraint (SYS.JAVA_DEV_DISABLED) violated” & “ORA-04045: SYS.DBMS_ISCHED” (Doc ID 1985725.1)

注意:这步骤仅仅当您在原数据库上应用了Mitigation Patch的时候实施


请注意:在本文中,当提到 11.2.0.1 时,指的是当前已安装的任意 11.2 版本 (11.2.0.1-11.2.0.N)。当提到 11.2.0.2 时,指的是 11.2 补丁集 (11.2.0.2-11.2.0.N) 的任意较新版本。


第 1 步
======
下载 11.2.0.2 或更高版本的 RDBMS 软件。
请参阅 NOTE:753736.1 - Quick Reference to Patchset Patch Numbers
查看补丁程序集自述文件中关于所需下载文件的完整说明,因为可能需要多个文件,并且自述文件中提供了每个补丁集的特定说明。

另请参阅:

Note 549617.1 : How To Verify The Integrity Of A Patch/Software Download? [Video]
Note 169706.1 : Oracle Database Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2)


第 2 步
======
将最新的 11.2 RDBMS 软件安装到新的 ORACLE_HOME 中。

请注意,从 11.2 安装开始,所有基本 RDBMS 组件均会安装。唯一的选项是组件是否会被链接(激活并可以使用)。自定制安装选项不再提供了。

如果数据库使用 Oracle Text 主题或者要安装 Oracle Multimedia 演示和其他演示,则需要安装 11.2.0.2 Examples CD(以前称为 Companion CD),因为这些项不在基本安装中。

您可以对以前的和新的 ORACLE_HOME 运行“opatch lsinventory -detail”以比较安装的产品。

另请注意:
如果使用 /opt/oracle 作为 ORACLE_BASE,则 rootupgrade.sh 将失败。有关详细信息,请参阅 

Note: 1281913.1 Root Script Fails if ORACLE_BASE is set to /opt/oracle


第 3 步
======
安装最新的 11.2 RDBMS 软件之后,用以前的 ORACLE_HOME 中启动 11.2.0.1实例,对正在运行的以前的实例执行 11.2.0.2 的$ORACLE_HOME/rdbms/admin/utlu112i.sql 脚本,并将输出 spool 至一个文件。

不论您是使用 DBUA 还是手动升级,均必须运行 Pre-Upgrade Information Tool。否则可能会遇到错误:

SQL> SELECT TO_NUMBER('MUST_BE_SAME_TIMEZONE_FILE_VERSION')
2 FROM registry$database
3 WHERE tz_version != (SELECT version from v$timezone_file);
SELECT TO_NUMBER('MUST_BE_SAME_TIMEZONE_FILE_VERSION')
*
ERROR at line 1:
ORA-01722: invalid number


您需要检查 spool 生成文件的内容,并在升级到 11.2 的最新版本之前修复所有问题。

已知问题
++++++++++++++++
11.2.0.2 使用时区版本 14。11.2.0.1 使用时区版本 11(以后的版本可能会使用更新版本的时区数据)。

如果选中了“Upgrade Timezone Version and TIMESTAMP WITH TIME ZONE data”框,则最新 ORACLE_HOME 中的 DBUA 会自动将时区升级到所包括的版本。

如果是手动升级,则:
可在升级到最新 11.2 版本之后,使用 DBMS_DST 程序包升级时区版本,或者将 11.2.0.1 时区升级到该时区版本(请注意,如果在升级之前将 11.2.0.1 时区版本升级到其他版本,需要重新运行 utlu112i.sql)。

请参阅:

 Note 1201253.1 Actions For DST Updates When Upgrading To Or Applying The 11.2.0.2 Patchset


第 4 步
======
运行以下 My Oracle Support 文章中的 dbupgdiag.sql 脚本,验证 dba_registry 中的所有组件有效并且 dba_objects 中没有无效的数据字典对象。

Note 556610.1 Script to Collect DB Upgrade/Migrate Diagnostic Information (dbupgdiag.sql)


如果 dbupgdiag.sql 脚本报告了任意无效对象,则运行 $ORACLE_HOME/rdbms/admin/utlrp.sql(可能需要多次)以使数据库中的无效对象变为有效,直至无效对象数不发生变化为止。

$ cd $ORACLE_HOME/rdbms/admin
$ sqlplus "/ as sysdba"
SQL> @utlrp.sql


使无效对象有效之后,再次在数据库中重新运行 dbupgdiag.sql,然后确保一切正常。

第 5 步
======
禁用所有批处理和 cron 作业,然后执行数据库的完整备份。

例子
----------
要执行数据库的完整备份,请完成以下步骤:

1. 登录 RMAN:
rman "target / nocatalog"
2. 运行以下 RMAN 命令:
RUN
{
ALLOCATE CHANNEL chan_name TYPE DISK;
BACKUP DATABASE FORMAT 'some_backup_directory%U' TAG before_upgrade;
BACKUP CURRENT CONTROLFILE FORMAT 'controlfile location and name';
}


另请参阅:Oracle Database Backup and Recovery User's Guide

注:对于完整的冷备份,请首先关闭数据库。

第 6 步
=======
干净的关闭数据库。

第 7 步(仅限 Windows 平台)
========================

1) 将环境变量 ORACLE_HOME 设置为指向 11.2.0.1 安装。

2) 停止指向 11.2.0.1 安装的 Oracle 数据库服务。

  C:\> NET STOP OracleServiceORCL


3)  使用 %ORACLE_HOME%\bin\ORADIM 可执行程序删除 11.2.0.1 Oracle 服务。

C:\> ORADIM -DELETE -SID ORCL


4) 将环境变量 ORACLE_HOME 设置为指向 11.2.0.2 安装。

5) 将 init.ora/spfile 和口令文件 (orapw.ora) 从 11.2.0.1 %ORACLE_HOME%/database 复制到 11.2.0.2 %ORACLE_HOME%/database。

6) 将网络配置文件(listener.ora、sqlnet.ora、tnsnames.ora 等)从 11.2.0.1 %ORACLE_HOME%\network\admin(或 $TNS_ADMIN)位置复制到 11.2.0.2 %ORACLE_HOME%\network\admin(或 %TNS_ADMIN%)位置。

7) 如果配置并使用了 DB Console/DB Control,将以下两个目录及其内容从 11.2.0.1 复制到 11.2.0.2。(如果未配置 DB Console/DB Control,则这些目录可能不存在。)
           ORACLE_HOME/
           ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_


8) 使用 11.2.0.2 的可执行程序,在命令提示符下创建 Oracle 11.2.0.2 服务。

%ORACLE_HOME%\bin\ ORADIM 
C:\> ORADIM -NEW -SID SID -SYSPWD PASSWORD -STARTMODE AUTO -PFILE %ORACLE_HOME%\DATABASE\INIT.ORA


例如:

C:\> ORADIM -NEW -SID ORCL -SYSPWD  pass_with_sysdba_priv  -STARTMODE AUTO -PFILE %ORACLE_HOME%\DATABASE\INIT.ORA

PASSWORD = 新数据库实例的口令。这是使用 SYSDBA 权限连接的用户的口令。-SYSPWD 选项并非必需。如果未指定该项,则将使用操作系统验证,并且不需要口令



第 8 步(Unix 和 Linux)
=================
配置目标 11.2.0.2 ORACLE_HOME

1) 确保环境变量 ORACLE_BASE、ORACLE_HOME、PATH、NLS_10 和 LIBRARY_PATH 设置为指向 11.2.0.2 安装。

将 ORACLE_SID 设置为 11.2.0.1数据库名以升级。

修改 /etc/oratab 文件指向您的 11.2.0.2 ORACLE_HOME。

2) 禁用 Database Vault

Note 453903.1 - Enabling and Disabling Oracle Database Vault in UNIX


3) 将 init.ora/spfile 和口令文件 (orapw.ora) 从 11.2.0.1 $ORACLE_HOME/dbs 复制到 11.2.0.2 $ORACLE_HOME/dbs

4) 将网络配置文件(listener.ora、sqlnet.ora、tnsnames.ora 等)从 11.2.0.1 $ORACLE_HOME/network/admin(或 $TNS_ADMIN)位置复制到 11.2.0.2 $ORACLE_HOME/network/admin(或 $TNS_ADMIN)位置

5) 如果配置了并使用了 DB Console/DB Control,将以下两个目录及其内容从 11.2.0.1 复制到 11.2.0.2。(如果未配置 DB Console/DB Control,则这些目录可能不存在。)
           ORACLE_HOME/
           ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_

请为  指定实际的名称

6) 确保为 Oracle Database 11g 版本 2 (11.2) 正确设置了 COMPATIBLE 初始化参数。如果未正确设置 COMPATIBLE,则 Pre-Upgrade Information Tool 会在“Database”部分中显示警告。

7) 将初始化参数的值调整到至少为 Pre-Upgrade Information Tool 指示的最小值。对于安装了 JVM 的客户,必须在升级前将 java_pool_size 和 shared_pool_size 至少设置为 250MB,否则 JVM 升级可能会失败,并出现以下错误:

ORA-07445: exception encountered: core dump [qmkmgetConfig()+52] [SIGSEGV] [ADDR:0x18] [PC:0x103FFEC34] [Address not mapped to object] []


第 9 步
======
手动升级数据库。

1) 启动 sqlplus 并从 新安装的目标 $ORACLE_HOME/rdbms/admin 下运行 catupgrd.sql 脚本

sqlplus " / as sysdba "
SQL> spool /tmp/upgrade.log
SQL> startup upgrade
SQL> set echo on
SQL> @catupgrd.sql;
SQL> spool off
SQL> Shutdown immediate


2) 查看 catupgrd.sql 生成的 spool 文件中的错误。

3) 按正常模式重新启动数据库。

4) SQL> @$ORACLE_HOME/rdbms/admin/catuppst.sql;

5) SQL> @$ORACLE_HOME/rdbms/admin/utlrp.sql;

6) 运行 dbupgdiag.sql 脚本(参阅 note: 556610.1)并验证 dba_registry 中的所有组件均有效并且 dba_objects 中没有无效对象。

升级后步骤
===================

1) 升级集群配置

如果您使用的是 Oracle 集群,那么您必须更新集群配置。

从 11.2.0.2 开始,upgrade 命令会将配置更新为正在运行的软件的版本。

您可以使用 srvctl 命令,例如:

srvctl upgrade database

这个命令会将数据库及其对应服务的配置信息更新至正在运行的软件的版本。

语法及选项如下:

srvctl upgrade database -d db_unique_name -o Oracle_home
Table A-161 srvctl upgrade database Options

选项描述
-d db_unique_name
 数据库的 unique name
 
-o Oracle_home
ORACLE_HOME 的路径

2) 使用 DBMS_DST 将时区升级到最新版本。

Note 1201253.1
Title: Actions For DST Updates When Upgrading To Or Applying The 11.2.0.2 Patchset


3) 升级 Recovery Catalog
有关升级 Recovery Catalog 和 UPGRADE CATALOG 命令的完整信息,请参阅《Oracle Database Backup and Recovery User's Guide》中的介绍这些过程的主题。

4) 升级 DBMS_STATS 程序包创建的 Statistics Table

如果使用 DBMS_STATS.CREATE_STAT_TABLE 创建了 statistics table,则通过运行以下命令来升级这些表:

EXECUTE DBMS_STATS.UPGRADE_STAT_TABLE('scott', 'stat_table');


在示例中,SCOTT 是 statistics table 的所有者,STAT_TABLE 是 statistics table 的名称。对每个 statistics table 都需要执行此命令。

5) 启用 Oracle Database Vault 并收回 DV_PATCH_ADMIN 角色。
如果您使用了 Oracle Database Vault,并按照之前的指示在升级前先禁用了它,现在您需要:

启用 Database Vault。

Note 453903.1 - Enabling and Disabling Oracle Database Vault in UNIX


收回 SYS 用户的 Database Vault DV_PATCH_ADMIN 角色。

参考
===========
Oracle Database
Upgrade Guide
11g Release 2 (11.2)
E17222-06                             <october 2010                        ="" < Chapter 3
       Upgrading to the New Release

http://download.oracle.com/docs/cd/E11882_01/server.112/e17222.pdf

6). 数据库中的 Oracle Warehouse Builder (OWB) 组件不会在升级过程中安装。升级后,有几个步骤升级该组件。

请参考 Oracle? Warehouse Builder Release Notes 11g Release 2 (11.2)

参考

NOTE:837570.1 - Complete Checklist for Manual Upgrades to 11gR2
NOTE:1561791.2 - Troubleshooting Assistant: Oracle Database/Client Upgrade - Downgrade
NOTE:1312225.1 - Things to Consider Before Upgrading to 11.2.0.2 Grid Infrastructure/ASM
NOTE:1363369.1 - Things to Consider Before Upgrading to 11.2.0.3/11.2.0.4 Grid Infrastructure/ASM



12.1.0.1 及更高版本的数据库安全补丁 (文档 ID 1603242.1)

类型: 状态: 上次主更新: 上次更新: 语言:
ANNOUNCEMENT PUBLISHED 2013-11-27 2013-11-27 English简体中文日本語

适用于:

Oracle Database - Enterprise Edition - 版本 12.1.0.1 和更高版本
Oracle Database - Standard Edition - 版本 12.1.0.1 和更高版本
Oracle Database - Personal Edition - 版本 12.1.0.1 和更高版本
本文档所含信息适用于所有平台

详细信息

从 Oracle数据库版本 12.1.0.1 开始,Oracle 将仅提供 Patch Set Update(PSU) 补丁程序,以满足 Critical Patch Update(CPU)项目要求提供的安全相关补丁。将不再提供 SPU(Security Patch Update)补丁程序。基于 PSU 补丁程序的受欢迎程度,所以 Oracle 转为此简化模型。PSU 是 Oracle 自 2009 年全面启动以来的首选主动式打补丁方案 [1]。

关于 Patch Set Update 的要点:

  • 受控内容

    • PSU 内容包括已在实际应用中得到证实的高质量非安全性 Bug 修复,以及包含在 CPU 计划中的安全漏洞修复。Oracle 首先对各 Bug 修复进行至少 20 次验证,然后才会将其包括在 PSU 中。其内容选择标准旨在尽可能减少风险(大量下载、无优化程序等)。安全修复则不同,它们在内容选择时需要严格实施这些标准。

  • 高质量

    • 对每个 PSU 运行完整的数据库回归和压力测试套件,以及经过挑选的性能测试,以确保 PSU 补丁程序在发行之前经过全面测试。其内容也经过审核,以确定是否需要执行任何特定测试。

  • 尽可能减少所需的客户测试

    • 自 2010 年开始,Oracle 建议客户对 PSU 仅做最低限度的测试即可。这个最低限度的测试同打一次性补丁程序所需的测试是一样的。有关详细信息,请参阅 [3] 'OOW 2012 Presentation - The Insider's Guide to Patching at Oracle'。

  • 尽可能减少停机时间

    • PSU 补丁程序打包为组合补丁程序[2],这可以极大减少补丁程序安装时间。此外,其内容也经过仔细选择,使得所有 PSU 补丁程序可以通过 Oracle RAC 滚动方式安装。唯一的例外是安全修复,此方法可能不可用。

  • 补丁程序安装时 Oracle 主目录中的更改较少

    • 组合补丁程序打包尽可能减少了在补丁程序安装时系统中的更改数量。特别是,在安装新 PSU 时不需要回滚以前版本的 PSU。这种打包方式减少了单个补丁间的冲突,避免了大量的回滚和应用操作。

  • 尽可能减少与已安装临时补丁程序的冲突

    • 组合补丁程序打包尽可能减少了替换临时补丁程序的要求。在引入组合补丁之前,需要替换所有临时补丁程序。现在这种情况再也不会出现,因为需要替换的临时补丁程序,仅仅是与 Oracle 主目录中上次安装 PSU 版本以来的增量内容冲突的那些部分。组合补丁程序打包可以显著减少客户所需的重叠临时补丁程序的数量。

  • 冲突解决补丁程序与 PSU 在同一天推出

    • 在过去的一年中,Oracle 主动提供临时补丁程序以解决新 PSU 与现有临时一次性补丁程序之间的冲突。Oracle 在 PSU 发布之日,为全球提供跨 8 个平台的 1000 到 1500 个以上的补丁程序。由于在 PSU 发行日提供这些补丁程序,客户可以立即开始部署 PSU。

  • 经过实证的 Oracle 客户接受度

    • Oracle 为 11.2.0.3 数据库补丁集发布了七个 PSU,为 Oracle 客户广泛采用。与仅安全性 SPU 补丁程序相比,每季度发行的 PSU 补丁程序下载量通常要高六倍。

    • 这一接受度统计信息与 Exadata 以及 Grid Infrastructure 补丁战略相符,它们都是提供单一补丁程序(捆绑或 PSU),其中包括了安全性和非安全性内容。

    • 对仅安全性 SPU 补丁程序的需求在逐步减少,特别是在较新的版本中。

上文所用参考资料

  • [1] Document:854428.1 - Patch Set Updates for Oracle Products

  • [2] Document:1376691.1 - Composite Patches for Oracle Products [Video] 

  • [3] OOW 2012 Presentation - The Insider's Guide to Patching at Oracle:
         http://www.myexpospace.com/oracle2012/SessionFiles/CON8488_PDF_8488_0001.pdf



数据库补丁冲突解决方案 (文档 ID 1674432.1)

类型: 状态: 上次主更新: 上次更新: 语言:
HOWTO PUBLISHED 2015-9-6 2016-7-5 English简体中文日本語???

文档内容


目标
 提问,获得帮助,并分享您对于这篇文档的经验。

解决方案
 较简单的方式:使用 My Oracle Support 来找到冲突的解决方案
 My Oracle Support Conflict Checker
 OCM Configurations
 稍微复杂:Patch Set Update (PSU)
 验证是否安装了 PSU
 验证是否真的是一个冲突
 验证是否冲突的补丁是一个覆盖补丁
  如果它是一个覆盖补丁
 此 PSU 是否是一个复合补丁
 确定此 PSU 是否被打包为一个复合补丁
 非复合补丁
 在 My Oracle Support 的“补丁和更新程序”标签下查找您的冲突的解决方案:
 找可用的替代补丁
 复合补丁
 当安装 PSU 时 OPatch 的输出示例
 当安装一个小补丁时 OPatch 的输出示例
 确定冲突所关联的复合子补丁的版本
 在 My Oracle Support 的“补丁和更新程序”标签下查找您的冲突的解决方案:
 查找可用的替代补丁
 稍微复杂:Critical Patch Update (CPU)
 CPU 与一个已经安装的 PSU 冲突
 CPU 与一个非 PSU 或非安全补丁的的冲突
 所有其他的冲突
 提交一个服务请求并且提供如下信息

参考

适用于:

Oracle Database - Enterprise Edition - 版本 9.2.0.1 到 11.2.0.3 [发行版 9.2 到 11.2]
本文档所含信息适用于所有平台

目标

这篇文档的目标是协助客户找到解决补丁冲突的方案,如果没有解决方案,为 Oracle Support 提供解决冲突所需的信息。

提问,获得帮助,并分享您对于这篇文档的经验。

您是否希望与其他 Oracle 客户、Oracle 员工和业内专家进一步探讨此主题?

请点击这里进入Oracle 社区(中文)。
  请点击这里进入My Oracle Support 社区的数据库安装/升级(英文)主页发现更多的话题和讨论。

解决方案

较简单的方式:使用 My Oracle Support 来找到冲突的解决方案

My Oracle Support Conflict Checker

一个新的检查Patch冲突的工具已经在 Patch Search 的结果页可用。.  通过这个工具我们可以上传OPatch inventory并且检查要下载的patch和已经打了的patch是否冲突。

如果没有发现冲突,那么可以下载 Patch。 如果发现冲突,这个工具可以寻找解决方案。 如果没有发现解决方案,你可以申请一个解决方案(注:申请patch或者merge patch),并且可以监控这个过程。

关于更多信息和一个示例视频,请参照

Document 1091294.1 "How to use the My Oracle Support Conflict Checker Tool".

OCM Configurations

如果您的安装的当前配置信息上传到了 My Oracle Support,您可以利用 补丁计划(Patch Plans) 来验证和解决冲突。如果对这个冲突没有既存的解决方案,它同样会给您提供一个链接,来请求一个解决方案,这甚至不需要创建一个服务请求。

有关 Patch Plans 的视频,请参阅如下:

Document 603505.1 My Oracle Support Speed Training - Links to Recorded Training
Support Tools and Processes 标签
  • Why use Configuration Manager in MOS

  • Configuration Manager

  • Installing the Collector

  • MOS Configuration Manager

  • Patch Recommendations and Patch Plans

稍微复杂:Patch Set Update (PSU)

验证是否安装了 PSU

如果不知道是否已经安装了一个 PSU,请参阅如下文档中的验证步骤:

Document 861152.1 Do Patchset Updates (PSU's) Change the Oracle Release Version/Fifth Digit?

验证是否真的是一个冲突

当一个补丁与 PSU 冲突,一个覆盖补丁会被创建在相同的 PSU 版本上。例如,PSU 是 11.1.0.7.8,覆盖补丁将会是 11.1.0.7.8。覆盖补丁将会在 PSU 之后被安装,并且使用冲突的 PSU 和原始补丁的一个融合版本来“覆盖”PSU。

验证是否冲突的补丁是一个覆盖补丁

    1. 运行如下
       
      % opatch lsinv
       

    2. 查看库存清单来确定冲突的补丁是否是一个覆盖补丁。例如:

验证是否可以使用如下文档来确认基版本(例如,11.1.0.7.0)无法安装

Document 1357613.1 Can a patch be applied if it is available on base/release version, even though PSU/CPU is installed

此 PSU 是否是一个复合补丁

一个新的打包模式在2012年4月被引入到了某些 PSU 版本。它叫做复合补丁模式。如果您不熟悉复合补丁模式,请阅读如下文档:

Document 1376691.1 Composite Patches for Oracle Products

第一步是确定您的冲突所关联的 PSU 是否以复合补丁模式建立。

确定此 PSU 是否被打包为一个复合补丁

参考如下文档中的第二节的表,此表包含了哪些发行版是复合补丁。

Document 1376691.1 Composite Patches for Oracle Products [Video]

非复合补丁
在 My Oracle Support 的“补丁和更新程序”标签下查找您的冲突的解决方案:

在 Patch ID 中输入补丁号码,搜索符合您的配置的平台。如果有与您的PSU版本相同的补丁存在(比如 11.1.0.7.8),那么(在安装 PSU 之后)下载安装那个补丁来解决冲突。

找可用的替代补丁

阅读如下文档寻找可能的替代补丁

Document 1061295.1 Patch Set Updates - One-off Patch Conflict Resolution

如果没有解决方案,转向 通过一个服务请求提供如下信息

复合补丁

当安装 PSU 时 OPatch 的输出示例

  • 在安装 PSU 之前检查冲突

% opatch prereq CheckConflictAgainstOHWithDetail -ph ./13343438

Following patches have conflicts. Please contact Oracle Support and get the merged patch of the patches : 
12646784, 13696216, 11840910 

Following patches will be rolled back from Oracle Home on application of the patches in the given list : 
12646784, 11840910 

Conflicts/Supersets for each patch are: 

Patch : 13696216 

Conflict with 12646784 
Conflict details: 
/bugmnt6/ap/celclnx17/BOD/11.2.0.3/A/64bit/app/oracle/product/11.2.0.3.0/lib/libserver11.a:/atb.o 

Conflict with 11840910 
Conflict details: 
/bugmnt6/ap/celclnx17/BOD/11.2.0.3/A/64bit/app/oracle/product/11.2.0.3.0/lib/libserver11.a:/kta.o

  • 安装 PSU

% opatch apply

Composite Patch 13696216 conflicts with installed patch(es) 12646784, 11840910 

Conflict Description: 
Here are the specific sub-patches of composite patch 13696216 that conflict with 12646784, 11840910 

Sub-Patch 13343438 conflicts with 11840910 

Sub-Patch 13696216 conflicts with 12646784 

Conflict Remedy: 
Refer to My Oracle Support Note 1299688.1 for instructions on resolving patch conflicts.

注意,apply 的输出与 CheckConflictAgainstOHWithDetail 的输出并不相同。


Sub-Patch 13343438 conflicts with 11840910 

Sub-Patch 13696216 conflicts with 12646784


11840910 and 12646784 both conflict with 13696216

这是一个已知的问题,会在未来的 OPatch 版本中解决。正确的信息是 Apply 的输出。

所以在进行之前,您需要利用如下文档的场景1来确定哪个子补丁关联于这个冲突:

Document 1626610.1 "opatch prereq CheckConflictAgainstOHWithDetail -ph ./" does not show correct Composite sub-patch

  • 当 PSU 与多个子补丁冲突时安装 PSU

Composite Patch 13923374 conflicts with installed patch(es)  13632140

Conflict Description:
Here are the specific sub-patches of composite patch 13923374 that conflict with  13632140

Sub-Patch 13343438 conflicts with 13632140

Sub-Patch 13696216 conflicts with 13632140

Sub-Patch 13923374 conflicts with 13632140

在这个例子中 PSU 与多个子补丁冲突,那么在冲突解决的处理过程中,使用最新的子补丁(最大的补丁号码)。在上面的例子中,使用 13923374。

当安装一个小补丁时 OPatch 的输出示例

  • 在安装小补丁前检查与 PSU 的冲突

Following patches have conflicts. Please contact Oracle Support and get the merged patch of the patches : 
13343438, 11840910 

Following patches will be rolled back from Oracle Home on application of the patches in the given list : 
13343438 

Conflicts/Supersets for each patch are: 

Patch : 11840910 

Conflict with 13343438 
Conflict details: 
/bugmnt6/ap/celclnx17/BOD/11.2.0.3/A/64bit/app/oracle/product/11.2.0.3.0/lib/libserver11.a:/kta.o

  • 安装一个与 PSU 冲突的补丁

Patch 11840910 conflicts with the composite patch 13696216 (specifically, sub-patch(es) 13343438). Please refer to the following to resolve the conflict(s): Patch conflict resolution (Doc ID 1299688.1) 
  or
Patch 12646784 conflicts with the composite patch 13696216 (specifically, sub-patch(es) 13696216). Please refer to the following to resolve the conflict(s): Patch conflict resolution (Doc ID 1299688.1)

  • 安装一个小补丁,此小补丁与 PSU 的多个子补丁冲突

Patch 13632140 conflicts with the composite patch 13923374 (specifically, sub-patch(es) 13923374,13696216,13343438).

在小补丁与多个子补丁冲突的情况下,在冲突处理过程中使用最新的子补丁(最大的补丁号码)。比如在上面的例子中,使用 13923374。

确定冲突所关联的复合子补丁的版本

在如下文档中查找复合子补丁号码

Document 753736.1 Quick Reference to Patchset Patch Numbers

在 My Oracle Support 的“补丁和更新程序”标签下查找您的冲突的解决方案:

在“搜索”标签下,在补丁编号里输入非 PSU 补丁号码(11840910),并且搜索匹配您的配置的平台。如果存在一个补丁,能够匹配冲突中所报告的 PSU 子补丁版本(例如,11.2.0.3.1),那么,要解决冲突,在安装 PSU 之后下载并安装这个补丁。 

查找可用的替代补丁

查看如下文档找到可能的替代补丁

Document 1061295.1 Patch Set Updates - One-off Patch Conflict Resolution

如果没有解决方案,转向 通过一个服务请求提供如下信息

稍微复杂:Critical Patch Update (CPU)

CPU 与一个已经安装的 PSU 冲突
  1. 运行如下命令来确定是否安装了 PSU

    % $ORACLE_HOME/OPatch/opatch lsinventory 
     

  2. 阅读输出,查看是否安装了任何版本的 PSU

根据当前的 Patch Set Update and Critical Patch Update Availability Document。在已经安装了 PSU 的环境继续安装 CPU 是不支持的。如果安装了 PSU,您必须执行如下之一:

  1. 安装当前的 PSU 而不是 CPU。
     

  2. 回滚 PSU,安装 CPU。并不推荐这个方案,因为回滚 PSU 的时候,您会移除很多已经安装在 ORACLE_HOME 下修复内容。

CPU 与一个非 PSU 或非安全补丁的的冲突
  1. 转向提交一个服务请求并且提供如下信息

所有其他的冲突

提交一个服务请求并且提供如下信息
  1. 确认您有最新版本的 OPatch。如果您没有最新的版本,那么参照 My Oracle Support 中列出的如下步骤
     
    Document 224346.1 OPatch - Where Can I Find the Latest Version of OPatch?

  2. 运行如下命令:

    UNIX:
    % $ORACLE_HOME/OPatch/opatch lsinventory 
     
    Windows:
    %ORACLE_HOME%\OPatch\opatch lsinventory

    - 上传当前的日志文件,位置是

    UNIX:
    $ORACLE_HOME/cfgtoollogs/opatch (不是 opatch_history.txt 文件)

    Windows:
    %ORACLE_HOME%\cfgtoollogs\opatch
     

  3. 上传显示了冲突的 OPatch 日志

  4. 将如下结果发到 SR

    UNIX:
    % uname -a
    % file $ORACLE_HOME/bin/sqlplus




如何确定一次性补丁是否冲突? (文档 ID 2179481.1)

类型: 状态: 上次主更新: 上次更新: 语言:
HOWTO PUBLISHED 2016-9-7 2016-9-7 English简体中文

文档内容


目标

解决方案
 已知问题
适用于:

Oracle Database - Enterprise Edition - 版本 10.2.0.1 到 11.2.0.3 [发行版 10.2 到 11.2]
本文档所含信息适用于所有平台

目标

你想要在一个已经安装有其它一次性补丁的 Oracle Home 里面,再安装 ‘n’ 个一次性补丁,你想要知道已经安装的这些补丁与即将安装的这些补丁是否冲突。

解决方案

不实际执行安装时,很难预测补丁是否会冲突,但是我们可以使用 OPatch 工具来执行检查,而不需要真正的将补丁安装到 Oracle Home。

要检查需要安装的补丁之间是否有冲突,以及/或者检查要安装的补丁与已经安装的补丁之间是否有冲突,你可以在 OPatch 中使用如下查询。

确保按照文档 Note 224346.1 安装了最新的 OPatch 版本。

在确认你使用了最新的 OPatch 版本之后,下载计划安装的所有的补丁,并且解压到同一个目录,例如,将所有需要安装的补丁解压到 $ORACLE_HOME/patches 目录。

运行如下命令来检查是否在计划安装的补丁之间有冲突。

这条命令会给出冲突和超集的详细信息,从而检查计划安装的补丁之间是否有冲突。

$ opatch prereq CheckConflictAmongPatchesWithDetail -phBaseDir <要安装的所有补丁所在的路径>


例如如下命令

$ opatch prereq CheckConflictAmongPatchesWithDetail -phBaseDir $ORACLE_HOME/patches


运行如下命令检查计划安装的补丁与在这个 Oracle Home 中已经安装的补丁之间是否有冲突

$ opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <要安装的所有补丁所在的路径>


这条命令会给出冲突和超集的详细信息,从而检查计划安装的补丁与 Oracle Home 中已有的补丁是否冲突。

注意:"opatch prereq" 命令中无法使用 -skip_duplicate 和 -skip_subset 选项,"opatch prereq"会自动地将所有子集和重复显示为"superset",这样就可以忽略它们,而只有 prereq 输出中显示为"conflict"的需要注意。

已知问题

问题1:

INFO:Unable to create Patch Object.
Exception occured : PatchObject constructor: Input file "/dba/downloads/patch_candidates/6646853/etc/config/actions" or "/dba/downloads/patch_candidates/6646853/etc/config/inventory" does not exist.

当对 10.2.0.3 及以上版本的 CPU 补丁运行 opatch checkconflict 命令时,要从补丁目录中移除 README.html 和 patchmd.xml 文件。(要从 phBaseDir 目录中移除任何其他的单个文件,例如cpu_root.sh),然后再执行命令,否则你会遇到上述错误。

问题2:

当使用'opatch prereq'检查潜在的冲突时,可能会遇到如下错误

Exception occured : PatchObject constructor: Input file "/refresh/32bit/app/oracle/product/10.2.0.3/patches/6081547/etc/config/actions" or "/refresh/32bit/app/oracle/product/10.2.0.3/patches/6081547/etc/config/inventory" does not exist.

请参照如下 MOS 文档去解决:

Note 788181.1 - opatch prereq CheckConflict fails with Exception occured : PatchObject constructor:Input file does not exist




最常见的 5 个 CRS Cluster(集群)打补丁问题 (文档 ID 1602035.1)


类型: 状态: 上次主更新: 上次更新: 语言:

BULLETIN PUBLISHED 2015-6-23 2017-4-1 English简体中文日本語???

Oracle Database补丁使用方法有哪些

文档内容


用途

适用范围

详细信息
 问题 1:Opatch auto 失败,显示“The opatch Component check failed”
 症状:
 可能原因:
 解决方案:
 问题 2:应用 GI PSU 时,OPATCH CheckSystemSpace 失败,出现错误代码 73
 症状:
 可能原因:
 解决方案:
 问题 3:错误:'CRS is not installed on any of the nodes'
 症状:
 可能原因:
 解决方案:
 问题 4:Opatch 错误“UtilSession failed: Patch nnn requires component(s) that are not installed”
 症状:
 可能原因:
 解决方案:
 问题 5:Opatch:版本检查失败
 症状:
 可能原因:
 解决方案:

适用于:

Oracle Database - Enterprise Edition - 版本 10.2.0.5.0 到 11.2.0.3 [发行版 10.2 到 11.2]
本文档所含信息适用于所有平台

用途

本说明旨在提供 CRS Cluster(集群)打补丁时最常遇到的 5 个问题的摘要。

适用范围

本说明适用于 10g 和 11gR1 CRS 打补丁问题,以及新的 11gR2 Grid Infrastructure(集群件)打补丁问题。

详细信息

问题 1:Opatch auto 失败,显示“The opatch Component check failed”

症状:

1. opatch 组件检查失败。此 patch(补丁程序)不适用于 /u01/.../...
2. /u01/... 的 opatch 适用性检查失败。此 patch(补丁程序)不适用于 /u01/..

可能原因:

1. 权限问题/在非空目录中解压缩了 patch(补丁程序)。
2. 对 GI Home和 RDBMS Home 使用不同的操作系统用户

解决方案:

1. 请查看 Document 1169036.1
2. 如果“opatch auto”仍失败,则另一个方法是按照 PSU补丁程序的 README(自述文件)文档中记录的手动过程操作。

问题 2:应用 GI PSU 时,OPATCH CheckSystemSpace 失败,出现错误代码 73

症状:

1. UtilSession failed: Prerequisite check "CheckSystemSpace" failed.
2. OPatch failed with error code 73.

可能原因:

1. OPATCH 在 $GRID_HOME 中需要约 4.4GB 磁盘空间以应用 PSU补丁程序,出现此问题的原因是空间不足。
2. 在 AIX 上,由于未发布的 Bug 9780505,所需空间为 22GB

解决方案:

1. 确保 $GRID_HOME 目录中有足够的空闲空间可用
2. 对于 AIX,如果需要,临时请求系统管理员扩展文件系统空间。
3. 使用“opatch util cleanup”释放 $GRID_HOME/.patch_storage 目录中的空间(在应用补丁程序之前/之后)。

问题 3:错误:'CRS is not installed on any of the nodes'

症状:

1. 错误:CRS is not installed on any of the nodes.

可能原因:

1. CRS Home的中心目录(Central Inventory)条目缺少将其标识为 CRS 类型主目录的标记。

解决方案:

1. 更新中心目录以设置“CRS=true”标记。按照 Document 1053393.1 中的说明操作。
2. 确保中心目录显示了有效的数据并列出了本地和远程集群节点。

问题 4:Opatch 错误“UtilSession failed: Patch nnn requires component(s) that are not installed”

症状:

1. UtilSession failed: Patch nnn requires component(s) that are not installed in OracleHome. These not-installed components are oracle.crs: ...

可能原因:

1. 为数据库主目录指定了错误的补丁程序路径
2. 指定了相对补丁程序路径

解决方案:

1. 指定完整路径,补丁程序位于 .../custom/server/ .. 目录下。

问题 5:Opatch:版本检查失败

症状:

1. ZOP-49: Not able to execute the prereq. OPatch cannot inform if the patch satisfies minimum version requirement.

可能原因:

1. OPatch 版本不满足补丁程序的要求(在补丁程序的 README(自述文件)中指定),必须升级 OPatch。
2. grid 或数据库用户无法读取解压缩的补丁程序目录/文件,请检查目录权限

解决方案:

1. 安装最新 opatch 版本。请参阅 Document 274526.1。
2. 更正解压缩补丁程序的目录权限。

进一步诊断,请上传 $ORACLE_HOME/cfgtoollogs log(日志)文件。

“Oracle Database补丁使用方法有哪些”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注亿速云网站,小编将为大家输出更多高质量的实用文章!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI