繼續上一個測試,使用隱含參數_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';
來解決。
我這里通過幾次重起就解決了問題:)