Chinaunix首页 | 论坛 | 博客
  • 博客访问: 669866
  • 博文数量: 759
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 4845
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-27 13:51
文章分类

全部博文(759)

文章存档

2011年(1)

2008年(758)

我的朋友

分类:

2008-10-27 13:58:17

  如果我们的当前在线日志文件或者是active的日志文件损坏,而且又没有备份,我们就只能通过_allow_resetlogs_corruption的方式来强制open resetlogs打数据库,但是有的我们会遇见SCN不一致而在打开过程中出现的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.

  像这样的错误我们都可以在alert_mylife.log中看到类似的信息:  


ORA-00600: internal error code, arguments: [2662], [0], [547743994], [0], [898092653], [8388617], [], []

  我们可以通过增进SCN来解决这个问题:

  1.如果数据库在open状态下。

  可以alter session set events 'immediate trace name ADJUST_SCN level x'

  2.如果数据库在mount状态下。

  可以alter session set events '10015 trace name ADJUST_SCN level x'

  注:level一般为1,则会增进SCN 10亿 (1 billion) (1024*1024*1024),通常Level 1已经足够。也可以根据实际情况适当调整。

【责编:michael】

--------------------next---------------------

阅读(470) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~