RMAN-06054 report duri…

来源:互联网 发布:怎么帮朋友代付淘宝 编辑:程序博客网 时间:2024/06/06 03:58

 

 

 

Cause:

 

 

 

 

 

 


In thisDocument

SymptomsCauseSolution

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.4[Release 10.2]
Information in this document applies to any platform.
***Checked for relevance on 22-Apr-2013***


Symptoms

RMAN-6054 error is reported during recover database to anotherbox with the following rman script

3> run {
...
12> restore database;
13> recover database;
...
18> }

 

RMAN-06054: media recovery requesting unknown log: threadstring seq string lowscn string

 

Comment: the set until ... clause is not included in the script andthe redo log does not exist in the new box.

Cause

As the "set until ..." clause is not included , complete recoveris performed. During complete recover , the oracle will try toapply all the archivelog based on the restored datafiles, then try to apply the change in the redolog files , ifthe redo logfiles does not exist, oracle will beunaware which one is the last archivelog need to apply and where tostart apply the change in the redo log files. The rman-06054 willbe reported after the lastest archivelog was applied, because theoracle will try to request a nonexist archivelog (which should bethe current redolog file).

Solution

Specify a recover end point using the "set until" clause.

run {
...
set until sequence = ;  -- specify therecover end point.
restore database;
recover database;
....
}
0 0
原创粉丝点击