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

遭遇 ORA-00600: internal error code, arguments: [4194] ORA-1552

[日期:2015-09-17] 来源:Linux社区  作者:gaopengtttt [字体:大 中 小]

参考

ORA-600 [4194] "Undo Record Number Mismatch While Adding Undo Record" (文档 ID 39283.1)

ORA-01552 While Creating Undo Tablespace (文档 ID 443570.1)

Step by step to resolve ORA-600 4194 4193 4197 on database crash (文档 ID 1428786.1)

数据库CARSH后启动报错

ORA-00600: internal error code, arguments: [4194], [#], [#], [], [], [], [], []

关于这个错误描述如下:

DESCRIPTION:  A mismatch has been detected between Redo records and rollback (Undo)  records.  We are validating the Undo record number relating to the change being  applied against the maximum undo record number recorded in the undo block.  This error is reported when the validation fails. ARGUMENTS:  Arg [a] Maximum Undo record number in Undo block  Arg [b] Undo record number from Redo block

但是在实际处理过程中还遇到如下错误:

按照MOS文档给出原因如下

Disable the CDC trigger and then undo tablespace can be created successfully.

需要禁用CDC触发器

_system_trig_enabled=false

SQL> conn / as sysdba

SQL> ALTER TRIGGER sys.cdc_alter_ctable_before DISABLE;

SQL> ALTER TRIGGER sys.cdc_create_ctable_after DISABLE;

SQL> ALTER TRIGGER sys.cdc_create_ctable_before DISABLE;

SQL> ALTER TRIGGER sys.cdc_drop_ctable_before DISABLE;

所以总结解决办法如下(处理前最好进行备份):

1、 关闭数据库  shutdown immediate

2、 启动数据库到mount状态下  startup mount  执行以下语句

alter system set "_system_trig_enabled"=false scope=both;

ALTER TRIGGER sys.cdc_alter_ctable_before DISABLE;

ALTER TRIGGER sys.cdc_create_ctable_after DISABLE;

ALTER TRIGGER sys.cdc_create_ctable_before DISABLE;

ALTER TRIGGER sys.cdc_drop_ctable_before DISABLE;

3、 关闭数据库shutdown immediate,再次重启到mount状态

修改参数

alter system set  undo_management = manual scope=spfile;

alter system set  event = '10513 trace name context forever, level 2'  scope=spfile;

4、 关闭数据库,启动到startup restrict状态,

1.shutdown immediate;

2.startup restrict;

5、 查看select tablespace_name, status, segment_name from dba_rollback_segs where status != 'OFFLINE';是有存在记录,如果存在记录,如果不存在可以

新建UNDO表空间    create undo tablespace datafile ‘file’ size xxxM ;

如果存在MOS没有给出处理步骤,可能需要设置_corrupted_rollback_segments如下文章

http://blog.itpub.net/7728585/viewspace-777441/

然后重启删除掉这些异常的回滚段

6、 删除旧UNDO表空间包括数据文件drop tablespace  including contents and datafiles;

7、 关闭数据库shutdown immediate,启动到startup nomount状态

8、 修改UNDO表空间为新建变空间alter system set undo_tablespace=’new_undotablespace’ scope=spfile;

9、 重启数据库shutdown immediate ;  startup;

10、关闭数据库,启动到mount状态,修改参数

1.alter system set  undo_management = auto scope=spfile;

2.alter system set  event = ''  scope=spfile;

3.alter system set "_system_trig_enabled"=true scope=both;

11、再次重启数据库完事。

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-09/123199.htm

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

       

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