patch_id,version, action ,status,action_time,description
以grid使用者執行以下命令
1
2
3 |
$opatch lsinventory -oh <GI_HOME> 以oracle使用者執行以下命令 $opatch lsinventory -oh <ORACLE_HOME> |
、資料字典應用
檢查資料字典中補丁資訊
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37 |
set
lines 500 pages 500 col description
for
a75 col action_time
for
a35 col
action
for
a10 col comments
for
a50 col VERSION
for
a25 col NAMESPACE
for
a20 col BUNDLE_SERIES
for
a20 select
*
from
registry$history; select
patch_id,version,
action
,status,action_time,description
from
dba_registry_sqlpatch; cd $ORACLE_HOME/OPatch ./datapatch -verbose 過程見下面 sqlplus /
as
sysdba SQL> shutdown immediate; 檢查資料字典中補丁資訊 set
lines 500 pages 500 col description
for
a75 col action_time
for
a35 col
action
for
a10 col comments
for
a50 col VERSION
for
a25 col NAMESPACE
for
a20 col BUNDLE_SERIES
for
a20 select
*
from
registry$history; select
patch_id,version,
action
,status,action_time,description
from
dba_registry_sqlpatch; 9、檢測失效物件 set
lin 300 pages 5000 col object_name
for
a40 col owner
for
a20 select
count
(*)
from
dba_objects
where
status=
'INVALID'
; select
count
(*)
from
dba_objects
where
status=
'INVALID'
and
owner=
'SYS'
; select
owner,object_name,object_type,status
from
dba_objects
where
status=
'INVALID' 如有失效物件,對失效物件進行修復 cd $ORACLE_HOME/rdbms/admin sqlplus /
as
sysdba SQL> @utlrp.sql |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69929371/viewspace-2890681/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Description
- ffmpeg Filtergraph descriptionFilter
- Harmonic Value Description HDU - 5916
- com.sun.mail.smtp DescriptionAI
- 轉:Intellij idea Version Control File Status Colors ( 版本控制檔案狀態顏色 )IntelliJIdea
- Introduction to "Bug Description" Articles [ID 245840.1]
- Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERRORAIDNNError
- How to get the description of blast hit using blastdbcmd?AST
- git status 命令Git
- action概念
- Description of restoring file and filegroup backups in SQL ServerRESTSQLServer
- Check database status in RACDatabase
- STATUS OF ORACLE INSTANCEOracle
- 皮克斯宣佈開源Universal Scene Description
- Action With AxiosiOS
- MySQL Version TokensMySql
- 理解Semantic Version
- 13.there is no action mapped for namespace and action name associated with contAPPnamespace
- 對四色原型中description原型的模糊理解原型
- Brief description of Oracle physical standby database configuration and managementOracleDatabase
- Brief description of Oracle physical standby database configuration and managemeOracleDatabase
- git status命令詳解Git
- Oracle ASM Partnership and Status TableOracleASM
- [Oracle Script] Log switch statusOracle
- Mysql---show table statusMySql
- SHOW SLAVE STATUS 詳解
- 理解 oracle 的 “lsnrctl status”Oracle
- struts2的異常There is no Action mapped for namespace / and action nameAPPnamespace
- 解決The given version [xx] is not supported, only version 1 to 10 is supported in this buildUI
- Maven多模組中,parent version如何採用自定${version}表示Maven
- Github Action釋出Github
- SSH框架之Action框架
- LeetCode in actionLeetCode
- 自定義 Action Bar
- Node.js in ActionNode.js
- QTP的Action模板QT
- Servlet action is not availableServletAI
- IDBDatabase.versionDatabase