ITPUB??ì3
12月微软Hyper-V虚拟化沙龙主题征集
ITPUB论坛 » Oracle专题深入讨论 » question wtih RAC incomplete recovery

标题: question wtih RAC incomplete recovery
在线/呼叫 wing hong
版主



精华贴数 0
个人空间 0
技术积分 1256 (1415)
社区积分 9 (11397)
注册日期 2002-8-7
论坛徽章:3
管理团队成员管理团队2006纪念徽章会员2006贡献徽章   
      

发表于 2004-9-19 19:33 
question wtih RAC incomplete recovery

Hi,

I use RMAN to backup the 2 nodes RAC. the backup command I use is:
"backup database plus archivelog delete input". I also set controlfile autobackup on. A question here:
let's say I have this backup :

  List of Archived Logs in backup set 39
  Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
  ---- ------- ---------- --------- ---------- ---------
  2    5       107837     19-SEP-04 107905     19-SEP-04

  List of Archived Logs in backup set 40
  Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
  ---- ------- ---------- --------- ---------- ---------
  1    4       107833     19-SEP-04 107902     19-SEP-04

Here , in thread 1, the backup archivedlog sequence is 4, the next SCN is 107902, and in thread 2, the backup archivelog sequence is 5, the next SCN is 107905.

In this case, if I do a incomplete recovery using the backup controlfile in this backupset, what should I set until to ?

According to the note in metalink, I should use the maximum SCN available, so I should put
run{
set until sequence 6 thread 2;
restore database;
recover database;
alter database open resetlogs;
}
However, if I do this, Oracle will have this:
unable to find archive log
archive log thread=1 sequence=5

RMAN-06054: media recovery requesting unknown log: thread 1 scn 107902

This looks reasonable since oracle backup set don't have sequence 5 for thread 1.

so I have to do my incomplete recovery with
set until sequence 5 thread 1.

This ofcourse works.

My question is: In this case, is it correct ?

Many thanks for any input.

regards/Yerong


只看该作者    顶部
 
    

相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问