服务热线:13616026886

技术文档 欢迎使用技术文档,我们为你提供从新手到专业开发者的所有资源,你也可以通过它日益精进

位置:首页 > 技术文档 > 数据库技术 > Oracle技术 > Oracle开发 > 查看文档

深入讲解ora-00600 2262错误的解决方法

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

扫描关注微信公众号