自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

檢查數(shù)據(jù)庫的CPU和PSU補丁信息

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

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

正常情況下有兩種方法,一種是登錄數(shù)據(jù)庫檢查DBA_REGISTRY_HIST視圖:

  1. MODDB2:[/home/oracle]$sqlplus / as sysdba 
  2.  
  3. SQL*Plus: Release 10.2.0.4.0 - Production on Thu Aug 18 13:04:43 2011 
  4.  
  5. Copyright (c) 1982, 2007, Oracle. All Rights Reserved. 
  6.  
  7. Connected to
  8. Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production 
  9. With the Partitioning, Real Application Clusters, Oracle Label Security, Data Mining 
  10. and Real Application Testing options 
  11.  
  12. SQL> set pages 100 lines 120 
  13. SQL> col action format a6 
  14. SQL> col namespace format a10 
  15. SQL> col version format a10 
  16. SQL> col comments format a15 
  17. SQL> col action_time format a30 
  18. SQL> col bundle_series format a15 
  19. SQL> alter session set nls_timestamp_format = 'yyyy-mm-dd hh24:mi:ss.ff'
  20.  
  21. Session altered. 
  22.  
  23. SQL> select * from dba_registry_history; 
  24.  
  25. ACTION_TIME ACTION NAMESPACE VERSION ID BUNDLE_SERIES COMMENTS 
  26. --------------------------- ------ ---------- ---------- ---- -------------- --------------- 
  27. 2011-06-02 16:54:21.301023 APPLY SERVER 10.2.0.4 4 PSU PSU 10.2.0.4.4 
  28. 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.  
  4. Oracle Interim Patch Installer version 10.2.0.5.0 
  5. Copyright (c) 2010, Oracle Corporation. All rights reserved. 
  6.  
  7. Oracle Home : /oracle/db 
  8. Central Inventory : /oracle/oraInventory 
  9. from : /var/opt/oracle/oraInst.loc 
  10. OPatch version : 10.2.0.5.0 
  11. OUI version : 10.2.0.4.0 
  12. OUI location : /oracle/db/oui 
  13. Log file location : /oracle/db/cfgtoollogs/opatch/opatch2011-08-18_11-18-30AM.log 
  14.  
  15. Patch history file: /oracle/db/cfgtoollogs/opatch/opatch_history.txt 
  16.  
  17. Lsinventory Output file location : /oracle/db/cfgtoollogs/opatch/lsinv/lsinventory2011-08-18_11-18-30AM.txt 
  18.  
  19. -------------------------------------------------------------------------------- 
  20. Installed Top-level Products (2): 
  21.  
  22. Oracle Database 10g 10.2.0.1.0 
  23. Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0 
  24. There are 2 products installed in this Oracle Home. 
  25.  
  26. Interim patches (4) : 
  27.  
  28. Patch 6367097 : applied on Tue Sep 14 22:08:15 GMT+08:00 2010 
  29. Created on 20 Jul 2008, 23:37:14 hrs US/Pacific 
  30. Bugs fixed: 
  31. 6367097 
  32.  
  33. ...... 
  34.  
  35. Bugs fixed: 
  36. 9294403 
  37.  
  38. OPatch succeeded. 

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

原文鏈接:http://blog.csdn.net/newhappy2008/article/details/6708744

【編輯推薦】

  1. 教你如何利用MySQL學習MongoDB
  2. Craigslist采用MongoDB替代MySQL
  3. MySQL中的NoSQL插件
  4. SQL與NoSQL——MySQL與NoSQL的融合
  5. 論MySQL何時使用索引,何時不使用索引
責任編輯:艾婧 來源: newhappy的專欄
相關(guān)推薦

2011-08-22 18:01:11

OracleCPU和PSU補丁

2022-06-06 08:21:13

MySQL數(shù)據(jù)庫命令

2011-05-17 14:34:24

2021-09-21 15:39:30

rpm-ostree數(shù)據(jù)庫更新日志

2011-08-29 14:00:26

MySQL主從延時

2022-04-11 06:56:14

數(shù)據(jù)庫安全數(shù)據(jù)泄露

2010-08-10 09:53:47

DB2數(shù)據(jù)庫補丁

2009-05-08 09:56:37

MaxDBMySQL數(shù)據(jù)庫管理

2010-06-12 17:48:45

MySQL數(shù)據(jù)庫表

2013-07-30 16:54:32

2018-01-08 15:50:21

Linux命令系統(tǒng)和硬件

2019-04-25 07:59:06

2011-10-11 17:07:12

數(shù)據(jù)庫Internet文件數(shù)據(jù)庫

2009-11-19 11:32:16

DBA數(shù)據(jù)庫安全補丁

2010-06-30 12:33:07

SQL Server補

2010-07-01 13:07:38

SQL Server補

2011-07-04 09:12:53

數(shù)據(jù)庫采購

2009-03-19 10:08:09

C#數(shù)據(jù)庫查詢

2018-01-04 10:43:43

OracleMysqlJava

2021-04-21 17:25:16

MySQL關(guān)系型數(shù)據(jù)庫
點贊
收藏

51CTO技術(shù)棧公眾號