alter database open;alter database open*ERROR at line 1:ORA-10458: standby database requires recoveryORA-01152: file 1 was not rest..."/>
溫馨提示×

溫馨提示×

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

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

DG ora-ORA-16016錯誤

發(fā)布時間:2020-07-19 20:37:34 來源:網(wǎng)絡 閱讀:2899 作者:llc018198 欄目:關系型數(shù)據(jù)庫

備庫無法打開:
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-10458: standby database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '+DATA/phub/datafile/system.258.884216521'

日志報錯:
Standby Crash Recovery aborted due to error 16016.
Errors in file /u01/app/oracle/admin/PHUB/diag/rdbms/phub/PHUB/trace/PHUB_ora_5643.trc:
ORA-16016: archived log for thread 1 sequence# 16 unavailable

 

Wait timeout: thread 2 sequence 14
Standby Crash Recovery aborted due to error 16016.
Errors in file /u01/app/oracle/admin/PHUB/diag/rdbms/phub/PHUB/trace/PHUB_ora_5971.trc:
ORA-16016: archived log for thread 2 sequence# 14 unavailable


從主庫上把這兩個日志拷貝到備庫:
然后注冊;

SQL> alter database register physical logfile '/home/oracle/thread_1_seq_16.365.883970323';

Database altered.

SQL> alter database register physical logfile '/home/oracle/thread_2_seq_14.363.884216233';

Database altered.

再open 數(shù)據(jù)庫;
SQL> alter database open;

Database altered.
后臺日志:
Beginning Standby Crash Recovery.
Serial Media Recovery started
Managed Standby Recovery starting Real Time Apply
Sun Jul 05 00:33:32 2015
Media Recovery Log /home/oracle/thread_1_seq_16.365.883970323
Media Recovery Log /home/oracle/thread_2_seq_14.363.884216233
Incomplete Recovery applied until change 43399676704 time 07/02/2015 03:17:58
Completed Standby Crash Recovery.
Sun Jul 05 00:33:34 2015
SMON: enabling cache recovery
Dictionary check beginning

 

向AI問一下細節(jié)

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

AI