手机版
你好,游客 登录 注册
背景:
阅读新闻

ORA-00600 [2662][][][][][] 错误解决

[日期:2012-10-16] 来源:Linux社区  作者:totoov5 [字体:大 中 小]

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.

ORA-600 [2662] [a] [b] [c] [d] [e]

Arg [a] Current SCN WRAP

Arg [b] Current SCN BASE

Arg [c] dependent SCN WRAP

Arg [d] dependent SCN BASE

Arg [e] Where present this is the DBA where the dependent SCN came from.

 可见参数b=545944,参数d=590505,确实数据块SCN小于dependent SCN。

这里需要使用Oracle内部事件来增加SCN:

在数据库open状态下:

sql>  alter session set events 'IMMEDIATE trace name adjust_scn level 1';

数据库不能open时:

sql> alter session set events '10015 trace name adjust_scn level 1'; 

level 1=10亿(1024*1024*1024),一般增进level 1就足够了。

10g以后,还需要设置参数_allow_error_simulation为TRUE,否则该事件不能生效。

sql> alter system set '_allow_error_simulation'=true scope=spfile; 

重启数据库后,再次open:

  1. Database Characterset is AL32UTF8 
  2. Wed May 23 15:28:18 2012 
  3. Incremental checkpoint up to RBA [0x4.3.0], current log tail at RBA [0x4.37.0] 
  4. replication_dependency_tracking turned off (no async multimaster replication found) 
  5. Starting background process QMNC 
  6. QMNC started with pid=21, OS id=4490 
  7. Wed May 23 15:28:23 2012 
  8. LOGSTDBY: Validating controlfile with logical metadata 
  9. Wed May 23 15:28:23 2012 
  10. LOGSTDBY: Validation complete 
  11. Completed: alter database open 

数据库终于open了,但部分数据已丢失,不能再恢复。

因为修改了这部分隐藏参数_allow_resetlogs_corruption,为保证后续使用, 剩下的就是exp再imp了。

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款