继续上一个测试,使用隐含参数_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';
来解决。
我这里通过几次重起就解决了问题:)