【oracle】oracledba26 RMAN recovers up to log sequence 230, but not including 230.,oracledba26rman
our database operates in ARCHIVELOGmode. The redo log files are
not multiplexed and one of the online redo logs is missing. The missi
ng redo log sequence, 230, is not archived and it contained informati
on from 10:35 a.m. onwards. The current time is 11:00 a.m. Because of
a disk crash, you executed the following command to perform an incom
plete recovery:
RMAN> RUN {
2> SET UNTIL SEQUENCE 230 THREAD 1;
3> ALTER DATABASE MOUNT;
4> RESTORE DATABASE;
5> RECOVER DATABASE;
6> ALTER DATABASE OPEN RESETLOGS;
7> };
With reference to this scenario, which statement is true?
A. RMAN recovers up to log sequence 230, but not including 230.
B. RMAN returns an error because the log sequence number mentioned in the command should be 229.
C. RMAN returns an error because the log sequence number mentioned in the command may never be missing.
D. RMAN recovers up to and including log sequence 229 but then returns an error because log sequence 230 is missing.
Answer: A
由於未被歸檔 redo log file 丟失,比如說 230 丟失,如果不執行基於取消的
恢複,那麼資料庫只能恢複到 229,使用命令 SET UNTIL SEQUENCE 230 THREAD 1
recover database until '2009/12/27 14:37:24';
恢複出來是小於那個時間點