Oracle database 11.2.0.4 更新 PSU

1 软件环境

 

OPatch:11.2.0.3.10

PSU:p28204707_112040_Linux-x86-64.zip

2 查看数据库组件版本

set line 188
col product for a50
col version for a15
col version_full for a15
col status for a15
select * from product_component_version;

 

3 查看OPatch版本 

$ORACLE_HOME/OPatch/opatch version

 4 查看已安装PSU信息

$ORACLE_HOME/OPatch/opatch lsinventory

5 安装PSU

停止数据库实例 

shutdown immediate

解压PSU

unzip p28204707_112040_Linux-x86-64.zip

应用PSU

cd 28204707
$ORACLE_HOME/OPatch/opatch apply

注册PSU

startup 
@?/rdbms/admin/catbundle.sql psu apply       --更新数据字典
@?/rdbms/admin/utlrp.sql                     --编辑无效对象 

查看数据字典更新

set line 188
col ACTION_TIME   for a30
col ACTION        for a12
col NAMESPACE     for a12
col VERSION       for a22
col BUNDLE_SERIES for a10
col COMMENTS      for a40
select * from dba_registry_history;

6 验证数据库版本

$ORACLE_HOME/OPatch/opatch lsinventory

 

你可能感兴趣的:(Oracle,11g)