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
- 轉:Intellij idea Version Control File Status Colors ( 版本控制檔案狀態顏色 )IntelliJIdea
- Harmonic Value Description HDU - 5916
- How to get the description of blast hit using blastdbcmd?AST
- Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERRORAIDNNError
- TIC Read Status
- git status 命令Git
- LeetCode in actionLeetCode
- action概念
- 13.there is no action mapped for namespace and action name associated with contAPPnamespace
- TensorFlow 報錯 CUDA driver version is insufficient for CUDA runtime version
- IDBDatabase.versionDatabase
- MySQL Version TokensMySql
- 理解Semantic Version
- 《Data Warehouse in Action》
- SAP CRM One order裡user status和system status的mapping邏輯APP
- [20210506]RAC crsctl status ... -v 獲取last started or status changes資訊.txtAST
- git status命令詳解Git
- HTTP Status 400 – Bad RequestHTTP
- 解決The given version [xx] is not supported, only version 1 to 10 is supported in this buildUI
- ORA-39358: Export dump file version 12.1.0 not compatible with target version 11Export
- PJSIP version 2.7.2 For AndroidJSAndroid
- JDK版本 - Major VersionJDK
- Reverse Card (Hard Version)
- Prefix Flip (Easy Version)
- Catch the Mole(Easy Version)
- [vuex] unknown action typeVue
- Github Action釋出Github
- Maven多模組中,parent version如何採用自定${version}表示Maven
- MySQL show status 命令詳解MySql
- php-status監控流程PHP
- MySQL的show engine innodb statusMySql
- jQuery : ajax獲取Status CodejQuery
- codegen的模板檔案mustache中,classname,description,notes如何賦值賦值
- iOS--Unsupported swift versioniOSSwift
- General->Identity->VersionIDE
- 165. Compare Version Numbers