诗檀软件专业数据库修复团队
oerr ora 00604
00604, 00000, "error occurred at recursive SQL level %s"
// *Cause: An error occurred while processing a recursive SQL statement
// (a statement applying to internal dictionary tables).
// *Action: If the situation described in the next error on the stack
// can be corrected, do so; otherwise contact Oracle Support.
适用于:
Oracle Database - Enterprise Edition – 版本12.1.0.2 及以上
本文信息适用于任何平台。
症状
在执行"alter database open resetlogs"期间使用RMAN Duplicate 命令创建新数据库失败,生成以下错误:
ORA-00604: error occurred at recursive SQL level 2
ORA-04024: self-deadlock detected while trying to mutex pin cursor 0x4B4583CC8
原因
该行为的原因是
Bug 19469538: LOADING OF DATA IN ECOL$ TABLE IS NON-OPTIMAL FOR QUERIES
注:这不是对于RMAN duplicate特定的问题,但与使用resetlog打开数据库相关。
解决方案
应用
Bug 19469538 的补丁并用以下选项打开数据库:
选项 1. Mount 新数据库,完成恢复,并通过SQL*Plus使用resetlog打开数据库。
选项 2. 再次重复duplicate。
参考
BUG:22087722 - ORA-604 ORA-4024 DURING "ALTER DATABASE OPEN RESETLOGS"
NOTE:360962.1 - Manual Completion of a Failed RMAN Backup based Duplicate