首页 > 代码库 > 【oracle】oracledba26 RMAN recovers up to log sequence 230, but not including 230.
【oracle】oracledba26 RMAN recovers up to log sequence 230, but not including 230.
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‘;
恢复出来是小于那个时间点
【oracle】oracledba26 RMAN recovers up to log sequence 230, but not including 230.