问题描述
客户数据库出现ORA-600(6002)错误。
在告警文件中出现大量的错误:
Sun Apr 1 16:15:41 2012 Errors IN file /oracle/orcl/udump/orcl_ora_16555.trc: ORA-00600: internal error code, arguments: [6002], [0], [0], [4], [0], [], [], [] Sun Apr 1 16:16:43 2012 Errors IN file /oracle/orcl/udump/orcl_ora_16555.trc: ORA-00600: internal error code, arguments: [6002], [0], [0], [4], [0], [], [], [] Sun Apr 1 16:17:44 2012 Errors IN file /oracle/orcl/udump/orcl_ora_16961.trc: ORA-00600: internal error code, arguments: [6002], [0], [0], [4], [0], [], [], [] Sun Apr 1 16:18:45 2012 Errors IN file /oracle/orcl/udump/orcl_ora_16961.trc: ORA-00600: internal error code, arguments: [6002], [0], [0], [4], [0], [], [], [] Sun Apr 1 16:19:47 2012 Errors IN file /oracle/orcl/udump/orcl_ora_16961.trc: ORA-00600: internal error code, arguments: [6002], [0], [0], [4], [0], [], [], [] Sun Apr 1 16:20:48 2012 Errors IN file /oracle/orcl/udump/orcl_ora_16555.trc: ORA-00600: internal error code, arguments: [6002], [0], [0], [4], [0], [], [], [] Sun Apr 1 16:21:49 2012 Errors IN file /oracle/orcl/udump/orcl_ora_16961.trc: ORA-00600: internal error code, arguments: [6002], [0], [0], [4], [0], [], [], []
专家解答
详细错误信息为:
ksedmp: internal OR fatal error ORA-00600: internal error code, arguments: [6002], [0], [0], [4], [0], [], [], [] CURRENT SQL statement FOR this SESSION: INSERT INTO TABLE_STAT (ID ,START_TIME, END_TIME) VALUES (:1, :2, :3) ----- Call Stack Trace ----- calling CALL entry argument VALUES IN hex location TYPE point (? means dubious VALUE) -------------------- -------- -------------------- ---------------------------- ksedst()+31 CALL ksedst1() 000000000 ? 000000001 ? 7FFF7063E240 ? 7FFF7063E2A0 ? 7FFF7063E1E0 ? 000000000 ? ksedmp()+610 CALL ksedst() 000000000 ? 000000001 ? 7FFF7063E240 ? 7FFF7063E2A0 ? 7FFF7063E1E0 ? 000000000 ? ksfdmp()+21 CALL ksedmp() 000000003 ? 000000001 ? 7FFF7063E240 ? 7FFF7063E2A0 ? 7FFF7063E1E0 ? 000000000 ? kgeriv()+176 CALL ksfdmp() 000000003 ? 000000001 ? 7FFF7063E240 ? 7FFF7063E2A0 ? 7FFF7063E1E0 ? 000000000 ? kgeasi()+263 CALL kgeriv() 0068966E0 ? 2AAACED21168 ? 000000000 ? 000000000 ? 7FFF7063E1E0 ? 000000000 ? kdiins0()+4578 CALL kgeasi() 0068966E0 ? 2AAACED21168 ? 000001772 ? 000000002 ? 000000004 ? 000000000 ? kauxsin()+4261 CALL kdiins0() 11BCC8DD0 ? 000000000 ? 000000000 ? 000000000 ? 000000000 ? 000000000 ? insidx()+2461 CALL kauxsin() 11BCC8E38 ? 7FFF70651640 ?
这个错误一般都是索引块出现了逻辑损坏造成的,解决方法其实很简单,将索引删除重建一般就可以解决问题。如果想要使用REBUILD的方式重建索引,记得加上ONLINE选项,确保在索引重建的时候选择读表,而不是从本来就存在数据错误的索引来获取数据。
关于ORA-600[6002]错误的更多问题可以参考文档ID 47449.1,而对于当前版本可能的bug,则应该是Bug 6621940 – Corruption after MOVE of an empty partition with local indexes [ID 6621940.8],这个问题在10.2.0.5和11.2.0.1中被FIXED。
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。