使用隐含参数_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.
如果SCN相差不多,可以通过多次重起数据库解决。
也可以通过内部事件:
alter session set events 'IMMEDIATE trace name ADJUST_SCN level 1';
来解决。
SYS@PROD2> alter database open resetlogs;
ERROR:
ORA-03114: not connected to ORACLE
alter database open resetlogs
*
ERROR at line 1:
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [2662], [1], [4867651], [1], [4867657], [12583040], [],
[], [], [], [], []
ORA-00600: internal error code, arguments: [2662], [1], [4867650], [1], [4867657], [12583040], [],
[], [], [], [], []
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [2662], [1], [4867647], [1], [4867657], [12583040], [],
[], [], [], [], []
Process ID: 6406
Session ID: 1 Serial number: 5
此处4867651与4967657相差不多,多次重启数据库解决。
参考来源:http://www.eygle.com/archives/2005/10/ora00600_2262ii.html
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.
如果SCN相差不多,可以通过多次重起数据库解决。
也可以通过内部事件:
alter session set events 'IMMEDIATE trace name ADJUST_SCN level 1';
来解决。
SYS@PROD2> alter database open resetlogs;
ERROR:
ORA-03114: not connected to ORACLE
alter database open resetlogs
*
ERROR at line 1:
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [2662], [1], [4867651], [1], [4867657], [12583040], [],
[], [], [], [], []
ORA-00600: internal error code, arguments: [2662], [1], [4867650], [1], [4867657], [12583040], [],
[], [], [], [], []
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [2662], [1], [4867647], [1], [4867657], [12583040], [],
[], [], [], [], []
Process ID: 6406
Session ID: 1 Serial number: 5
此处4867651与4967657相差不多,多次重启数据库解决。
参考来源:http://www.eygle.com/archives/2005/10/ora00600_2262ii.html