oracle数据库恢复报ORA-00283,ORA-01610错误原因

  可能很多人在做数据库恢复时,都遇到过如下错误:

SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done

  对于这个错误的处理方法很简单,相信大家都知道:(只要加上using backup controlfile就可以了)

SQL> recover database using backup controlfile;
ORA-00279: change 314215629614 generated at 04/25/2015 12:50:28 needed for
thread 1
ORA-00289: suggestion : /archlog/recovertest1/recovertest1_48089_863551860.arc
ORA-00280: change 314215629614 for thread 1 is in sequence #48089


Specify log: {<RET>=suggested | filename | AUTO | CANCEL}

  但是为什么会报这样的错误呢?下面我们就来说一下导致恢复时报ORA-00283,ORA-01610错误的原因

Error Text, Cause and Action from Message File/s for ORA-01610

Versions 10.2, 11.1, 11.2, 12.1

Error:  ORA-01610 recovery using the BACKUP CONTROLFILE option must be done 
---------------------------------------------------------------------------
Cause:  Either an earlier database recovery session specified BACKUP 
	CONTROLFILE, or the control file was recreated with the RESETLOGS 
	option, or the control file being used is a backup control file. After 
	that only BACKUP CONTROLFILE recovery is allowed and it must be 
	followed by a log reset at the next database open.  >>>>>导致恢复报ORA-01610的原因有 :                                                          1.如果你在一次恢复中先是使用了recover database using backup controlfile命令,那么再一次执行recover database时必须也加上backup controlfile              2.你所恢复的数据库曾经被resetlogs打开过                                                                                                                3.你恢复使用的控制文件比恢复出来的数据文件要老(比如你restore的控制文件是5月10号的,restore的数据文件是5月10号之后的)
Action: Perform recovery using the BACKUP CONTROFILE option. 
Versions 9.2, 10.1

Error:  ORA-01610 recovery using the BACKUP CONTROLFILE option must be done 
---------------------------------------------------------------------------
Cause:  Either an earlier database recovery session specified BACKUP 
	CONTROLFILE, or the controlfile was recreated with the RESETLOGS 
	option, or the controlfile being used is a backup controlfile. After 
	that only BACKUP CONTROLFILE recovery is allowed and it must be 
	followed by a log reset at the next database open. 
Action: Perform recovery using the BACKUP CONTROFILE option. 

##上面这段截取自MOS的解释很清楚的说明了导致恢复时报ORA-01610的原因。

详情可参考 OERR: ORA-1610 "recovery using the BACKUP CONTROLFILE option must be done" Reference Note (Doc ID 19007.1)

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

渔夫数据库笔记

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值