ORA-00600: internal error code, arguments: [25027], [1], [0], [], [], [], [], [], [], [], [], [](代码片
Posted 雅冰石
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ORA-00600: internal error code, arguments: [25027], [1], [0], [], [], [], [], [], [], [], [], [](代码片相关的知识,希望对你有一定的参考价值。
一 问题描述
Oracle告警日志有如下报错:
Errors in file /u01/app/oracle/diag/rdbms/yjt/yjt/trace/yjt_m000_3267.trc (incident=223859):
ORA-00600: internal error code, arguments: [25027], [1], [0], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/yjt/yjt/incident/incdir_223859/yjt_m000_3267_i223859.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Errors in file /u01/app/oracle/diag/rdbms/yjt/yjt/trace/yjt_m000_3267.trc (incident=223860):
ORA-00600: internal error code, arguments: [kewrose_1], [600], [ORA-00600: internal error code, arguments: [25027], [1], [0], [], [], [], [], [], [], [], [], []
], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/yjt/yjt/incident/incdir_223860/yjt_m000_3267_i223860.trc
Thu Nov 04 18:01:01 2021
Dumping diagnostic data in directory=[cdmp_20211104180101], requested by (instance=1, osid=3267 (M000)), summary=[incident=223859].
Thu Nov 04 18:01:03 2021
Sweep [inc][223860]: completed
Sweep [inc][223859]: completed
Sweep [inc2][223859]: completed
Dumping diagnostic data in directory=[cdmp_20211104180106], requested by (instance=1, osid=3267 (M000)), summary=[incident=223860].
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Suspending MMON slave action kewrmafsa_ for 82800 seconds
Errors in file /u01/app/oracle/diag/rdbms/yjt/yjt/trace/yjt_m000_3267.trc:
ORA-00600: internal error code, arguments: [kewrose_1], [600], [ORA-00600: internal error code, arguments: [25027], [1], [0], [], [], [], [], [], [], [], [], []
], [], [], [], [], [], [], [], [], []
Thu Nov 04 18:02:02 2021
Sweep [inc2][223860]: completed
手动生成快照也报一样的错误:
SQL> exec dbms_workload_repository.create_snapshot;
BEGIN dbms_workload_repository.create_snapshot; END;
*
ERROR at line 1:
ORA-00600: internal error code, arguments: [kewrose_1], [600], [ORA-00600:
internal error code, arguments: [25027], [1], [0], [], [], [], [], [], [], [],
[], []
], [], [], [], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 99
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 122
ORA-06512: at line 1
二 问题排查思路
点击以下网址查看ORA-600错误:https://support.oracle.com/epmos/faces/DocumentDisplay?id=153788.1&_adf.ctrl-state=yy192dbh2_172&_afrLoop=434945599224471
在Error Code First Argument处输入25027:
点击跳出来的文档链接:
点击下面的链接地址:
里面可以查看原因:
块在ASSM元数据L1位图块中标记为已格式化,但对于LOB段,该块儿未格式化。
三 解决办法
根据告警日志,查看当时的trace文件,查找要修复的表:
less /u01/app/oracle/diag/rdbms/yjt/yjt/incident/incdir_223859/yjt_m000_3267_i223859.trc
这里打算通过以下方式修复:
create table sys.WRH$_SQL_PLAN_bak as select * from sys.WRH$_SQL_PLAN;
drop table sys.WRH$_SQL_PLAN;
#使用sys用户重命名表
rename WRH$_SQL_PLAN_bak to WRH$_SQL_PLAN;
#手动给该表重建索引(因为create table as select并没有建索引)
alter table WRH$_SQL_PLAN ADD CONSTRAINT "WRH$_SQL_PLAN_PK" PRIMARY KEY ("DBID", "SQL_ID", "PLAN_HASH_VALUE"
, "ID");
重建后可以建快照了。
SQL> exec dbms_workload_repository.create_snapshot;
PL/SQL procedure successfully completed.
--本篇文章参考了:
以上是关于ORA-00600: internal error code, arguments: [25027], [1], [0], [], [], [], [], [], [], [], [], [](代码片的主要内容,如果未能解决你的问题,请参考以下文章
Oracle索引修复 ,ORA-00600: internal error code, arguments: [6200],
Oracle索引修复 ,ORA-00600: internal error code, arguments: [6200],
ORA-00600: internal error code, arguments: [2662]
DBCA建库出错ORA-00600: internal error code, arguments