日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
檢查數(shù)據(jù)庫的CPU和PSU補丁信息

簡單描述如何檢查當(dāng)前數(shù)據(jù)庫的CPU和PSU補丁安裝情況。

創(chuàng)新互聯(lián)公司堅持“要么做到,要么別承諾”的工作理念,服務(wù)領(lǐng)域包括:成都網(wǎng)站設(shè)計、網(wǎng)站建設(shè)、外貿(mào)網(wǎng)站建設(shè)、企業(yè)官網(wǎng)、英文網(wǎng)站、手機端網(wǎng)站、網(wǎng)站推廣等服務(wù),滿足客戶于互聯(lián)網(wǎng)時代的夏河網(wǎng)站設(shè)計、移動媒體設(shè)計的需求,幫助企業(yè)找到有效的互聯(lián)網(wǎng)解決方案。努力成為您成熟可靠的網(wǎng)絡(luò)建設(shè)合作伙伴!

正常情況下有兩種方法,一種是登錄數(shù)據(jù)庫檢查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
  18. There are 2 products installed in this Oracle Home.
  19. Interim patches (4) :
  20. Patch 6367097 : applied on Tue Sep 14 22:08:15 GMT+08:00 2010
  21. Created on 20 Jul 2008, 23:37:14 hrs US/Pacific
  22. Bugs fixed:
  23. 6367097
  24. ......
  25. Bugs fixed:
  26. 9294403
  27. OPatch succeeded.

注意,CPU和PSU補丁分為兩部分,首先通過opatch命令,隨后還需要運行cat_bundle.sql。如果沒有運行這個SQL,則補丁不算安裝成功,這時通過OPATCH命令檢查可以看到補丁的安裝信息,但是在數(shù)據(jù)庫的DBA_REGISTRY_HISTORY中是找不到對應(yīng)的信息的。


當(dāng)前題目:檢查數(shù)據(jù)庫的CPU和PSU補丁信息
本文網(wǎng)址:http://www.5511xx.com/article/cdcegso.html