问题:遇到ORA-00600 2662号错误时应当如何解决?
解答:在我们使用隐含参数_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';
新闻热点
疑难解答