在安装psu补丁之后,登陆数据库发现sqlplus、数据库版本号没有发生变更。查看MOS官方给出如下解释。同时做了一个测试,将打psu补丁后的数据库冷备份到打补丁之前的数据库仍然可以

启动数据库,同时没有任何报错。

APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 12.1.0.1 [Release 10.2 to 12.1]
Information in this document applies to any platform.

GOAL

This article helps to find whether  PSU released for Oracle Database Server 10gR2  ( 10.2.0.x  ) and 11gR1 (11.1.0.x) ,11g R2  (11.2.0.x )  and 12c R1 (12.1.0.1) change the database version.

SOLUTION

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

Answer: NO.

The PSU  i.e 10.2.0.4.x or higher , 11.1.0.7.x  and 11.2.0.1.x or higher and 12.10.1 released for Oracle Database Server version 10.2.0.4.x or higher  , 11.1..0.7.0 ,11.2.0.1 or higher and 12.1.0.1   respectively does NOT change the database version . That means PSU  10.2.0.4.x /10.2.0.5.x, 11.1.0.7.x, 11.2.0.1.x /11.2.0.2.x/11.2.0.3.x/11.2.0.4.x and 12.1.0.1. x  ( where x is the fifth digit ) does NOT change the 5th digit of the Oracle Database Server version.

After applying the PSU "opatch lsinventory" still shows the version as 10.2.0.4.0/10.2.0.5.0 for Oracle 10g R2, 11.1.0.7 for Oracle 11g R1 , 11.2.0.1 /11.2.0.2/11.2.0.3/11.2.0.4 for Oracle 11g R2 and 12.1.0.1 for Oracle 12c R1

PSU's also will not change the version of oracle binaries (like sqlplus, exp/imp etc.)

Note : It is also applicable for the Oracle Enterprise Manager Grid Control and EM Agent

Although Patch Set Updates are referenced by their 5-place version number, with the 10.2 , 11.1 and 11.2  PSUs the product banners and Oracle Universal Installer (OUI) information are not updated with the new version number. For the 10.2 ,11.1 ,11.2 and 12.1 PSUs, use the OPatch inventory information to determine the PSU version currently installed.

example:

> opatch lsinventory

And compare it to the version table listed in

Note 854428.1 Patch Set Updates for Oracle Products

Section 7, "Determining the Patch Set Update Version"

or

1. Make sure your opatch version is at or above

  • 10.2.0.4.5 for version 10.2 ORACLE_HOMEs

  • 11.1.0.6.5 for version 11.1 ORACLE_HOMEs

  • 11.2.0.1.0 for version 11.2 ORACLE_HOMEs

$ opatch version 
Invoking OPatch 10.2.0.4.8

OPatch Version: 10.2.0.4.8

2. Verify if PSU is installed in the ORACLE_HOME

$ opatch lsinventory -bugs_fixed | egrep 'PSU|PATCH SET UPDATE'

...
12827740 13343461 Wed Feb 22 07:11:36 GMT 2012 DATABASE PSU 11.1.0.7.9 (INCLUDES CPUOCT2011)
13343461 13343461 Wed Feb 22 07:11:36 GMT 2012 DATABASE PATCH SET UPDATE 11.1.0.7.10 (INCLUDES

3. Verify the PSU Post Install steps were run in the DB

select substr(action_time,1,30) action_time, 
substr(id,1,10) id, 
substr(action,1,10) action, 
substr(version,1,8) version, 
substr(BUNDLE_SERIES,1,6) bundle, 
substr(comments,1,20) comments 
from registry$history;

ACTION_TIME                  ID ACTION VERSION  BUNDLE COMMENTS 
---------------------------- -- ------ -------- ------ -------------- 
23-AUG-10 07.28.02.856762 AM 4  APPLY  10.2.0.4 PSU    PSU 10.2.0.4.3 
23-AUG-10 07.31.48.001892 AM 1  APPLY  10.2.0.4 PSU    PSU 10.2.0.4.4

For Windows : You get the output as mentioned below

Example output :

ACTION_TIME                    ID ACTION VERSION  BUNDLE COMMENTS 
----------------------------   -- ------ -------- ------ --------------

30-JUL-12 10.28.44.656000 PM               20   APPLY     11.2.0.2    WINBUN      Patch 20

Note: The registry$history will not contain the row showing the PSU Post Install step was executed unless catbundle.sql is executed.  This means if the Post Install steps were skipped because the db was upgraded or created after installing the PSU, this row will not exist

备注:MOS通过查看registry$history视图,查看DB是否更新psu,同时也可以通过dba_registry_history视图进行查看。

转载于:https://blog.51cto.com/369day/1535784

PSU更新之后是否更改数据库版本号呢相关推荐

  1. android sqlite更改数据,更新现有的sqlite数据库中的列,但没有任何更改android

    对不起,但我没有在网上找到任何东西.我在我的目录"资产"中使用现有的数据库.当我想更新一列时,函数返回该列已经改变,但实际上并没有发生.我试着用execSQL,但没有再次.更新现有 ...

  2. Mysql 查看、创建、更改 数据库和表

    一.一探究竟 我想看看有多少个数据库,有多少个表,以及表里有啥东西.那么你可以这样: 图形界面: 命令: 查看多少个数据库:注意 后面带s #查看 SHOW DATABASES; #查看表 USE b ...

  3. 更换oracle nls,oracle_更改数据库字符集 (NLS_CHARACTERSET)

    In this Document Applies to: Oracle Database - Standard Edition - Version 8.1.7.4 and later Oracle D ...

  4. 数据库 版本号是 661,打不开。此server支持 655 和更早的版本号。不支持降级路径...

    "数据库 的版本号为 661,无法打开.此server支持 655 版及更低版本号. 不支持降级路径" 出现这种问题,通常是由于数据库版本号不同造成的. 我们能够用以下的语句查询数 ...

  5. 更改数据库对象所有者

    个人在开发中,整理出来,已试过,可以用! SQL Server2005可以使用系统存储过程sp_changeobjectowner更改数据库对象所有者. 一.单个修改 sp_changeobjecto ...

  6. oracle数据库imp导入失败提示:“不是有效的导出文件, 标头验证失败”解决方法,修改dmp文件里oracle数据库版本号方法

    报错信息如下,该报错主要是因为原来导出时的数据库版本和现有的数据库版本不匹配所致. C:\Users\Administrator>imp ncc2005zdh_0602/ufida file=D ...

  7. mysql 更改数据库编码_更改MySQL数据库的编码为utf8mb4

    utf-8编码可能2个字节.3个字节.4个字节的字符,但是MySQL的utf8编码只支持3字节的数据,而移动端的表情数据是4个字节的字符.如果直接往采用utf-8编码的数据库中插入表情数据,Java程 ...

  8. MYSQL 更改数据库data存储目录 创建用户 创建权限 设置远程访问的权限.

    一. 怎么更改数据库data存储目录:  1. 安装MYSQL. 2. 切换到 C:\Program Files\MySQL\MySQL Server 5.6 3. 新建my.ini. 加入如下配置: ...

  9. 使用正则表达式更改编译版本号

    针对Visual Studio 6.0开发环境: 标准情况下在"[工程名].rc"文件中写入版本号:也允许使用每次编译自动加1宏在VersionNo.h中写入版本号.在新建项目时必 ...

最新文章

  1. html百度地图跳动标注,trajectory.html
  2. 如何通过Geth、Node.js和UNIX/PHP访问以太坊节点
  3. mfc怎么计算字符串宽度_Python基础之好玩的字符串格式化f-string格式
  4. 【教程】超漂亮的CSS3按钮制作教程
  5. 【超详细】一文学会链表解题(建议收藏!)
  6. 如何在用例之间传递值_如何从0搭建自己的自动化测试体系
  7. BZOJ 2324: [ZJOI2011]营救皮卡丘(带上下限的最小费用最大流)
  8. lua cURL使用笔记
  9. java多属性的map_java - 具有多个参数的MapStruct QualifiedByName - 堆栈内存溢出
  10. 计算机与体育教育的关系,体育教学论文:健康教育与体育教育存在的问题研究...
  11. 【英语学习】【WOTD】chockablock 释义/词源/示例
  12. 调用未知DLL中的导出函数[转]
  13. 包邮送55本数据分析、R、Python相关书籍,想要什么自己定~
  14. Flutter之Align和AlignmentGeometry
  15. w10计算机管理权限,设置win10管理权限_win10系统如何获取管理员权限
  16. 湖北武汉劳务员证书劳务人员实名制管理的策略建筑七大员培训
  17. 恶意样本分析手册——理论篇
  18. 通用能力-智力题专项练习(2)
  19. 智汇华云 | ArSDN之分布式路由及浮动IP简介
  20. 深入理解JVM(程序编译与代码优化篇)

热门文章

  1. Confluence 6 目录中的数据库
  2. bzip2recover cat chattr chgrp chmod
  3. opencv3.2+opencv_contrib+cmake
  4. 光纤跳线的交叉连接注意点?
  5. 怎样进入VBA编辑器
  6. maven仓库没有fastdfs_client.jar的解决方案
  7. 菜鸟编译OPenJDK全过程记录
  8. 释放只有声明没有定义的对象,都是耍流氓
  9. BGP 最佳路径选择之 -- Local Preference
  10. [转][C#] .net动态编译C# 和 VB