成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Oracle如何檢查當前數據庫CPU和PSU補丁信息?

數據庫 Oracle
本文我們主要介紹了Oracle數據庫中檢查當前數據庫的CPU和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  
  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命令檢查可以看到補丁的安裝信息,但是在數據庫的DBA_REGISTRY_HISTORY中是找不到對應的信息的。

以上就是Oracle數據庫中檢查當前數據庫CPU和PSU補丁信息的兩種方法,本文就介紹到這里了,希望本次的介紹能夠對您有所收獲!

【編輯推薦】

  1. Oracle臨時表在實際開發中的應用詳解
  2. Oracle 11g R2數據庫示例用戶安裝說明
  3. Oracle 11g數據庫審計功能應用實例解析
  4. Oracle 11g數據庫默認審計選項說明詳解
  5. Oracle 11g數據庫使用XML Table的BUG解決
責任編輯:趙鵬 來源: CSDN博客
相關推薦

2011-08-23 15:55:40

數據庫CPUPSU

2011-05-17 14:34:24

2022-06-06 08:21:13

MySQL數據庫命令

2021-09-21 15:39:30

rpm-ostree數據庫更新日志

2010-04-19 16:01:54

2011-03-29 10:47:49

ORACLE數據庫

2011-07-27 13:22:35

檢查索引碎片Oracle數據庫重建索引

2015-07-23 17:02:55

oracle創建數據庫

2011-04-13 14:58:16

Oracle數據庫刪除

2009-11-20 14:08:39

Oracle數據庫備份

2011-05-19 13:25:12

Oracle數據庫碎片

2023-09-05 08:40:57

刪除數據庫Oracle

2011-04-12 10:59:46

Oracle數據庫

2011-08-29 14:00:26

MySQL主從延時

2011-08-02 16:44:00

Oracle數據庫角色權限默認表空間

2010-04-09 16:51:24

Oracle數據庫

2019-07-03 09:35:20

Oracle數據庫監聽

2010-04-29 08:52:29

Oracle數據庫

2010-04-29 11:53:42

Oracle數據庫

2010-05-05 14:44:50

Oracle數據庫
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 免费h视频 | 一区二区免费视频 | 欧美国产精品一区二区 | 嫩草研究影院 | 91九色网站 | 拍戏被cao翻了h承欢 | 精品一区二区三区在线观看 | 亚洲 欧美 日韩 在线 | av日韩在线播放 | 欧美aⅴ片 | 91麻豆精品一区二区三区 | 久久青 | 久草在线影 | 在线观看免费观看在线91 | 国产一区二区三区在线看 | 久久综合欧美 | 一区二区三区欧美在线观看 | 在线视频一区二区三区 | 日本电影免费完整观看 | a级黄色毛片免费播放视频 国产精品视频在线观看 | 日日操视频 | 国产欧美一区二区精品久导航 | 三级成人片 | 天堂视频免费 | 精品三级在线观看 | 妞干网av | 羞羞色在线观看 | 日朝毛片| 亚洲网站在线观看 | 精品国产99| 波多野吉衣久久 | 亚洲欧美另类在线 | 久久新 | 毛片在线免费 | 亚洲天堂av网 | 99热在这里只有精品 | 久久精品国产一区 | 欧美国产精品一区二区三区 | 久久久久国产一级毛片高清网站 | 亚洲瑟瑟 | 亚洲精品888|