ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 【DataGuarad】ORA-1153 trying to turn on Flashback for Physical Standby Database

【DataGuarad】ORA-1153 trying to turn on Flashback for Physical Standby Database

原创 Linux操作系统 作者:杨奇龙 时间:2011-10-12 19:12:08 0 删除 编辑
当试图开启备库的flashback功能时报如下错误:
SQL> alter database flashback on;
alter database flashback on
*
ERROR at line 1:
ORA-01153: an incompatible media recovery is active

原因:备库还在应用日志

ORA-1153, 00000, "an incompatible media recovery is active"
// *Cause: Attempted to start an incompatible media recovery or open resetlogs
// during media recovery or RMAN backup . Media recovery sessions
// are incompatible if they attempt to recover the same data file.
// Incomplete media recovery or open resetlogs is incompatible with
// any media recovery. Backup or restore by RMAN is incompatible
// with open resetlogs
// *Action: Complete or cancel the other media recovery session or RMAN backup

解决方法:先停止应用,然后开启闪回,再次开始应用!
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> alter database flashback on;
Database altered.
SQL> alter database recover managed standby database disconnect from session;
Database altered.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22664653/viewspace-709060/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 【歌词】承诺
请登录后发表评论 登录
全部评论
MySQL DBA NoSQL DEVOPS

注册时间:2009-10-07

  • 博文量
    1026
  • 访问量
    8205955