- 作者:zhaozj
- 发表时间:2020-12-23 10:36
- 来源:未知
在Recover的过程中出现如下提示:
Media Recovery Log /global/oradata/ctsdb/archive/arch1_2574.logIdentified end-of-REDO for thread 1 sequence 2574Identified end-of-REDO for thread 1 sequence 2574Media Recovery End-Of-Redo indicator encounteredMedia Recovery Applied until change 2404883MRP0: Media Recovery Complete: End-Of-REDO
开始以为是由于RFS超时截断了这个归档,于是将Primary上的这个归档FTP过来,重新作,居然仍然报这个提示,这个提示以后,MRP就停止了,不再作后面的recovery,即使不断地收到primary上传来的归档。
解决方法:
1。shutdown primary normal
2。将control file直接FTP到standby,替换当前的standby controlfile
3。open primary
4。mount standby:
SQL> startup mount;
5。recover standby:
SQL> recover database;
6。recover中选择AUTO,这样arch1_2574.log就recover结束,并且继续recover下面的归档日志了,一直到recover报错找不到需要的归档为止,不要打开standby,直接shutdown掉
7。primary上重新创建standby controlfile,FTP到standby上,覆盖现在用的control file
8。mount standby:
SQL> startup nomount;
SQL> alter database mount standby database;
9。置为自动恢复状态:
SQL> alter database recover managed standby database parallel 8 disconnect from session;
10。OK,结束