ORA-00600 [2662]含义:
A data block SCN is ahead of the current SCN.
The ORA-600 [2662] occurs when an SCN is compared to the dependent SCN
stored in a UGA variable.
If the SCN is less than the dependent SCN then we signal the ORA-600 [2662]
internal error.
ORA-600 [2662] [a] [b] [c] [d] [e]
Arg [a] Current SCN WRAP
Arg [b] Current SCN BASE
Arg [c] dependent SCN WRAP
Arg [d] dependent SCN BASE
Arg [e] Where present this is the DBA where the dependent SCN came from.
可见参数b=545944,参数d=590505,确实数据块SCN小于dependent SCN。
这里需要使用Oracle内部事件来增加SCN:
在数据库open状态下:
sql> alter session set events 'IMMEDIATE trace name adjust_scn level 1';
数据库不能open时:
sql> alter session set events '10015 trace name adjust_scn level 1';
level 1=10亿(1024*1024*1024),一般增进level 1就足够了。
10g以后,还需要设置参数_allow_error_simulation为TRUE,否则该事件不能生效。
sql> alter system set '_allow_error_simulation'=true scope=spfile;
重启数据库后,再次open:
- Database Characterset is AL32UTF8
- Wed May 23 15:28:18 2012
- Incremental checkpoint up to RBA [0x4.3.0], current log tail at RBA [0x4.37.0]
- replication_dependency_tracking turned off (no async multimaster replication found)
- Starting background process QMNC
- QMNC started with pid=21, OS id=4490
- Wed May 23 15:28:23 2012
- LOGSTDBY: Validating controlfile with logical metadata
- Wed May 23 15:28:23 2012
- LOGSTDBY: Validation complete
- Completed: alter database open
数据库终于open了,但部分数据已丢失,不能再恢复。
因为修改了这部分隐藏参数_allow_resetlogs_corruption,为保证后续使用, 剩下的就是exp再imp了。
