Oracle 10g升级之--PSU 升级(续)

Oracle 10g升级之--PSU升级(续)


5、再从10.2.0.4.4 升级到10.2.0.4.11


-----------升级到10.2.0.4.11

[oracle@RH4 12879929]$ /u01/app/oracle/product/10.2.0/db_1/OPatch/opatch apply

Invoking OPatch 10.2.0.5.1

Oracle Interim Patch Installer version 10.2.0.5.1

Copyright (c) 2010, Oracle Corporation.All rights reserved.

Oracle Home: /u01/app/oracle/product/10.2.0/db_1

Central Inventory : /u01/app/oracle/oraInventory

from: /etc/oraInst.loc

OPatch version: 10.2.0.5.1

OUI version: 10.2.0.4.0

OUI location: /u01/app/oracle/product/10.2.0/db_1/oui

Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2012-04-28_02-39-21AM.log

Patch history file: /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt

ApplySession applying interim patch '12879929' to OH '/u01/app/oracle/product/10.2.0/db_1'

[oracle@RH4 12879929]$ /u01/app/oracle/product/10.2.0/db_1/OPatch/opatch apply

Invoking OPatch 10.2.0.5.1

Oracle Interim Patch Installer version 10.2.0.5.1

Copyright (c) 2010, Oracle Corporation.All rights reserved.

Oracle Home: /u01/app/oracle/product/10.2.0/db_1

Central Inventory : /u01/app/oracle/oraInventory

from: /etc/oraInst.loc

OPatch version: 10.2.0.5.1

OUI version: 10.2.0.4.0

OUI location: /u01/app/oracle/product/10.2.0/db_1/oui

Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2012-04-28_02-39-21AM.log

Patch history file: /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt

ApplySession applying interim patch '12879929' to OH '/u01/app/oracle/product/10.2.0/db_1'

For each database instance running on the Oracle home being patched, connect to the database using SQL*Plus. Connect as SYSDBA and run the catbundle.sql script as follows:

cd $ORACLE_HOME/rdbms/admin

sqlplus /nolog

SQL> CONNECT / AS SYSDBA

SQL> STARTUP

SQL> @catbundle.sql opsu apply

SQL> -- Execute the next statement only if this is the first PSU applied for 10.2.0.4 or this is the first PSU applied since 10.2.0.4.8.

SQL> @utlrp.sql

SQL> QUIT

The catbundle.sql execution is reflected in the dba_registry_history view by a row associated with bundle series OPSU.

For information about the catbundle.sql script, see My Oracle Support Note 605795.1 Introduction to Oracle Database catbundle.sql.


------------验证


SQL> col COMMENTS for a50

SQL> set linesize 120

SQL> r

1* select action,comments from registry$history

ACTIONCOMMENTS

------------------------------ --------------------------------------------------

UPGRADEUpgraded from 10.2.0.1.0

CPUview recompilation

APPLYPSU 10.2.0.4.4

APPLYPSU 10.2.0.4.11

SQL>

SQL> shutdown immediate

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup

ORACLE instance started.


Total System Global Area515899392 bytes

Fixed Size1268412 bytes

Variable Size243270980 bytes

Database Buffers268435456 bytes

Redo Buffers2924544 bytes

Database mounted.

Database opened.

SQL> select action,comments from registry$history;


ACTIONCOMMENTS

------------------------------ --------------------------------------------------

UPGRADEUpgraded from 10.2.0.1.0

CPUview recompilation

APPLYPSU 10.2.0.4.4

APPLYPSU 10.2.0.4.11


SQL>


[oracle@RH4 ~]$ /u01/app/oracle/product/10.2.0/db_1/OPatch/opatchlsinventory -bugs_fixed | grep -i 'DATABASE PSU'

965499112879929Sat Apr 28 02:42:11 CST 2012DATABASE PSU 10.2.0.4.5 (REQUIRES PRE-REQUISITE

995223412879929Sat Apr 28 02:42:11 CST 2012DATABASE PSU 10.2.0.4.6 (REQUIRES PRE-REQUISITE

1024863612879929Sat Apr 28 02:42:11 CST 2012DATABASE PSU 10.2.0.4.7 (REQUIRES PRE-REQUISITE

1172497712879929Sat Apr 28 02:42:11 CST 2012DATABASE PSU 10.2.0.4.8 (REQUIRES PRE-REQUISITE

1241939712879929Sat Apr 28 02:42:11 CST 2012DATABASE PSU 10.2.0.4.9 (REQUIRES PRE-REQUISITE

1282777812879929Sat Apr 28 02:42:11 CST 2012DATABASE PSU 10.2.0.4.10 (REQUIRES PRE-REQUISITE

85761569352164Sat Apr 28 00:50:14 CST 2012DATABASE PSU 10.2.0.4.1 (INCLUDES CPUJUL2009)

88332809352164Sat Apr 28 00:50:14 CST 2012DATABASE PSU 10.2.0.4.2 (INCLUDES CPUOCT2009)

91192849352164Sat Apr 28 00:50:14 CST 2012DATABASE PSU 10.2.0.4.3 (INCLUDES CPUJAN2010)

93521649352164Sat Apr 28 00:50:14 CST 2012DATABASE PSU 10.2.0.4.4 (INCLUDES CPUAPR2010)










本文转自 客居天涯 51CTO博客,原文链接:http://blog.51cto.com/tiany/846729,如需转载请自行联系原作者
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值