首页 / 数据库 / MySQL / ORA-38856: 无法将实例 UNNAMED_INSTANCE_2 (重做线程 2) 标记为启用
在做异地恢复数据库试验的时候,报错 ORA-38856,具体情况如下:源库为Oracle RAC,2节点数据库 版本 11.2.0.4目标库为单实例ORACLE, 版本 11.2.0.4源库Rman备份为0级全备在restore成功以后,recover不成功,需要用到原来的online log,重建控制文件,然后 alter database open resetlogs,报错SQL> alter database open resetlogs;
alter database open resetlogs
*
第 1 行出现错误:
ORA-38856: 无法将实例 UNNAMED_INSTANCE_2 (重做线程 2) 标记为启用是一个Bug:Oracle bug, 4355382 ORA-38856: FAILED TO OPEN DATABASE WITH RESETLOGS WHEN USING RAC BACKUP, exists in theOracle 10g release 2.0 that affects backups taken from a RAC database. The problem is related to the number of threadsused by the source database and an expectation that the cloned database must have an identical number of threads.解决办法1. Set the following parameter in the auxiliary init.ora file: _ no_recovery_through_resetlogs=TRUE.
2. Open the database in resetlogs mode.
3. Remove _no_recovery_through_resetlogs=TRUE from init.ora.
4. Restart database.更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12本文永久更新链接地址