ORA-1113, ORA-1110 When recovering a copy of the database on a different server

rongshiyuan發表於2012-08-08
ORA-1113, ORA-1110 When recovering a copy of the database on a different server [ID 816974.1]轉到底部轉到底部

修改時間:2011-3-8型別:PROBLEM狀態:MODERATED優先順序:3
沒有任何註釋註釋 (0)為此文件評級通過電子郵件傳送此文件的連結在新視窗中開啟文件可列印頁

In this Document
Symptoms
Cause
Solution


Platforms: 1-914CU;

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.5 and later [Release: 9.2 and later ]
Information in this document applies to any platform.

Symptoms

After putting database is backup mode and copying over the files and recreating the controlfile and applying several archivelogs to get beyond the database being in backup mode, an error was received when trying to open the database with resetlogs:

SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/oracle/PRDDAT/DATA1/tables/PRDDAT.SYSTEM.data1.dbf'

The following queries resulted in:

select distinct(fhscn) from x$kcvfh;
just one value

select distinct(fhsta) from x$kcvfh;
only the value of 0

select distinct status from v$backup;
not active

Also we looked at the create controlfile script, it has resetlogs in the creation. The recovery command he was using was:

recover database using backup controlfile;

Then several logs would be applied and then eventually cancel and try to open with resetlogs.

Cause

Not using the correct syntax on the recovery command

Solution

The command that allowed the database to open was:

recover database using backup controlfile until cancel;

It seems to make a difference between initially telling Oracle that you are doing cancel or incomplete recovery and cancelling after applying archivelogs.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-740342/,如需轉載,請註明出處,否則將追究法律責任。

相關文章