oracle 查找 psu,Oracle如何检查当前数据库CPU和PSU补丁信息
正常情況下有兩種方法:
一種是登錄數據庫檢查DBA_REGISTRY_HIST視圖:
1.MODDB2:[/home/oracle]$sqlplus / as sysdba
2.SQL*Plus: Release 10.2.0.4.0 - Production on Thu Aug 18 13:04:43 2011
3.Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
4.Connected to:
5.Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
6.With the Partitioning, Real Application Clusters, Oracle Label Security, Data Mining
7.and Real Application Testing options
8.SQL> set pages 100 lines 120
9.SQL> col action format a6
10.SQL> col namespace format a10
11.SQL> col version format a10
12.SQL> col comments format a15
13.SQL> col action_time format a30
14.SQL> col bundle_series format a15
15.SQL> alter session set nls_timestamp_format = 'yyyy-mm-dd hh24:mi:ss.ff';
16.Session altered.
17.SQL> select * from dba_registry_history;
18.ACTION_TIME ACTION NAMESPACE VERSION ID BUNDLE_SERIES COMMENTS
19.--------------------------- ------ ---------- -------------- -------------- ---------------
20.2011-06-02 16:54:21.301023 APPLY SERVER 10.2.0.4 4 PSU PSU 10.2.0.4.4
21.2011-06-02 16:54:42.711877 APPLY SERVER 10.2.0.4 1 OPSU PSU 10.2.0.4.5
另一種方式是通過opatch lsinventory方式:
1.MODDB2:[/home/oracle]$opatch lsinventory
2.Invoking OPatch 10.2.0.5.0
3.Oracle Interim Patch Installer version 10.2.0.5.0
4.Copyright (c) 2010, Oracle Corporation. All rights reserved.
5.Oracle Home : /oracle/db
6.Central Inventory : /oracle/oraInventory
7.from : /var/opt/oracle/oraInst.loc
8.OPatch version : 10.2.0.5.0
9.OUI version : 10.2.0.4.0
10.OUI location : /oracle/db/oui
11.Log file location : /oracle/db/cfgtoollogs/opatch/opatch2011-08-18_11-18-30AM.log
12.Patch history file: /oracle/db/cfgtoollogs/opatch/opatch_history.txt
13.Lsinventory Output file location : /oracle/db/cfgtoollogs/opatch/lsinv/lsinventory2011-08-18_11-18-30AM.txt
14.--------------------------------------------------------------------------------
15.Installed Top-level Products (2):
16.Oracle Database 10g 10.2.0.1.0
17.Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0
新人創作打卡挑戰賽發博客就能抽獎!定制產品紅包拿不停!總結
以上是生活随笔為你收集整理的oracle 查找 psu,Oracle如何检查当前数据库CPU和PSU补丁信息的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 中考英语听说计算机考试满分,北京2018
- 下一篇: 百度文库的文档下载