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

参考
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、再次重启数据库完事。

 

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7728585/viewspace-1731370/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7728585/viewspace-1731370/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值