记一次补丁升级过程从11.2.0.4.0 到11.2.0.4.3
1检查当前数据库PSU号: cd/DBSoft/Product/11.2.4/db_1/OPatch/ ./opatch version
OPatch Version: 11.2.0.3.4
终于明白上面这个是OPatch工具的版本,不是不定的版本。注意补丁的版本看OUI version
OPatch version : 11.2.0.3.4 补丁工具版本
OUI version : 11.2.0.4.0 补丁版本
2 shutdown immediate
host lsnrctl stop
3上传新下载的PSU补丁包并解压
下载p6880880,并解压缩
4 ##查看最新Opatch工具版本号
./opatch version
OPatch Version: 11.2.0.3.6
5再执行一次安装前的检查
$/home/oracle/OPatch/opatch prereqCheckConflictAgainstOHWithDetail
6通过新版本Opatch安装PSU
$/home/oracle/OPatch/opatch apply
打补丁过程中会问及是否在本地安装补丁;是不是有邮箱
7检查Opatch是否已经完成:$/home/oracle/OPatch/opatch lsinventory
Oracle Interim Patch Installerversion 11.2.0.3.6
8更新dba_registry_history视图最新PSU信息
启动db ,启动监听
alter system register;
@?/rdbms/admin/catbundle.sqlpsu apply
9确认更新后的dba_registry_history视图信息
selectaction,comments from registry$history
SELECT * FROMPRODUCT_COMPONENT_VERSION