咨询微信: dbservice1234 7 x 24 在线支持!

    你在这里

    • You are here:
    • 首页 > 博客 > PDSERVICE的博客 > Oracle 打开备用数据库失败,显示ORA-1110/ORA-1196/ORA-10458: standby database requires recovery

Oracle 打开备用数据库失败,显示ORA-1110/ORA-1196/ORA-10458: standby database requires recovery

Oracle 打开备用数据库失败,显示ORA-1110/ORA-1196/ORA-10458: standby database requires recovery

如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!

诗檀软件专业数据库修复团队

服务热线 : 13764045638 QQ号:47079569 邮箱:service@parnassusdata.com

 

ORA-10458: standby database requires recovery

oerr ora 10458
10458, 00000, "standby database requires recovery"
// *Cause:  A standby database was in a state requiring media recovery
//          when an attempt was made to open the standby database.
// *Action: Perform the necessary recovery and open the standby database.

 

APPLIES TO:

Oracle Database – Enterprise Edition – 版本 11.2.0.1 及以上
本文信息适用于任何平台。

症状

在重建备用控制文件后,在备用数据库上 “ALTER DATABASE OPEN” 失败显示ORA-1110/ORA-1196/ORA-10458 

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-10458: standby database requires recovery
ORA-01196: file 1 is inconsistent due to a failed media recovery session
ORA-01110: data file 1: ‘/home/app/oracle/oradata/standby/system01.dbf’

 

更改

在以下情况下问题发生。

  • 物理备用数据库
  • 备用数据库被终止
  • 备用控制文件被重建或从备用中还原
  • 尝试在只读模式打开备用数据库

原因

这是预期的限制。
当备用数据库终止且备用控制文件必须被还原,在只读下打开备用数据库需要crash recovery
但数据文件保持FUZZY,且它不可恢复。

解决方案

当备用控制文件必须被还原且备用数据库以前崩溃,还原所有数据文件和控制文件的备份restore backup of all datafiles and control files when standby controlfile must be restored and the Standby Database crashed before

参考

BUG:21447390 – ALTER DATABASE OPEN FAILS DUE TO ORA-10458 AFTER RECREATING STANDBY CONTROL FILE