溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

RMAN diagnostic 信息收集

發(fā)布時間:2020-07-02 19:48:29 來源:網(wǎng)絡(luò) 閱讀:218 作者:Evils798 欄目:關(guān)系型數(shù)據(jù)庫
 RMAN diagnostic 信息收集 [ID 1337285.1] 


適用于: 
Oracle Server - Personal Edition - Version: 10.1.0.2 to 11.2.0.2 - Release: 10.1 to 11.2適用于任何平臺.

The following script is executed within RMAN. If you are using an RMAN recovery catalog please also make a connection to the catalog.

   rman_diagnostics.out 文件的默認路徑 :/tmp 

1)   Unix 環(huán)境, 設(shè)置以下環(huán)境變量:
    $ export NLS_DATE_FORMAT='DD MON YYYY HH24:MI:SS'

2) 在RMAN命令行中運行以下腳本:

a) 數(shù)據(jù)庫的小數(shù)目的數(shù)據(jù)文件或備份策略用以下腳本
spool trace to '/tmp/rman_diag_long.out'; 
show all;
list incarnation of database;
list backup summary;
report schema;
list backup of database;
list copy of database;
spool trace off;


b) 大量的數(shù)據(jù)文件中使用以下腳本來查看某一個數(shù)據(jù)文件的備份信息

spool trace to '/tmp/rman_diag_short.out'; 
show all;
list incarnation of database;
list backup summary;
report schema;
list backup of datafile 1;
list copy of datafile 1;
spool trace off;


向AI問一下細節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI