继续上一个测试,使用隐含参数_ALLOW_RESETLOGS_CORRUPTION后resetlogs打开数据库后,我们说很多时候你会遇到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.
在测试中,很容易模拟这个错误:
Thu Oct 20 10:38:27 2005
SMON: enabling cache recovery
Thu Oct 20 10:38:27 2005
Errors in file /opt/Oracle/admin/conner/udump/conner_ora_31607.trc:
ORA-00600: internal error code, arguments: [2662], [0], [897694446], [0], [897695488], [8388697], [], []
Thu Oct 20 10:38:28 2005
Errors in file /opt/oracle/admin/conner/udump/conner_ora_31607.trc:
ORA-00600: internal error code, arguments: [2662], [0], [897694446], [0], [897695488], [8388697], [], []
如果SCN相差不多,可以通过多次重起数据库解决。
也可以通过内部事件:
alter session set events 'IMMEDIATE trace name ADJUST_SCN level 1';
来解决。
我这里通过几次重起就解决了问题:)
也可以参考ORA-00600 [2662]错误解决过程

本文介绍了在Oracle数据库中遇到ORA-00600[2662]错误的场景,该错误通常发生在SCN对比时出现不匹配。通过多次重启数据库或使用内部事件`ALTER SESSION SET EVENTS 'IMMEDIATE TRACENAME ADJUST_SCN LEVEL 1';`可以解决此问题。在测试环境中,作者成功地通过这些方法解决了问题。
5496

被折叠的 条评论
为什么被折叠?



