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

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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/17252115/viewspace-740342/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值