|
问题:遇到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';
|