共计 1544 个字符,预计需要花费 4 分钟才能阅读完成。
Exadata 环境在收集统计信息时出现这个错误。
客户数据库 11.2.0.2 RAC on Exadata 在收集统计信息是出现的错误:
Sun Feb 05 22:22:44 2012
Errors in file /u01/app/Oracle/diag/rdbms/orcl/orcl2/trace/orcl2_j002_21084.trc (incident=255085):
ORA-00600: internal error code, arguments: [ktspfnsb-1], [1], [1], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/orcl/orcl2/incident/incdir_255085/orcl2_j002_21084_i255085.trc
Sun Feb 05 22:22:56 2012
Thread 2 advanced to log sequence 6225 (LGWR switch)
Current log# 4 seq# 6225 mem# 0: +RECO_ORCL/orcl/onlinelog/group_4.683.768858471
.
.
.
Sun Feb 05 22:36:32 2012
Dumping diagnostic data in directory=[cdmp_20120205223632], requested by (instance=2, osid=21084 (J002)), summary=[incident=255085].
Sun Feb 05 22:36:32 2012
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Sun Feb 05 22:36:32 2012
Sweep [inc][255085]: completed
Sweep [inc2][255085]: completed
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl2/trace/orcl2_j002_21084.trc:
ORA-12012: error on auto execute of job “SYS”.”ORA$AT_OS_OPT_SY_2878″
ORA-20011: Approximate NDV failed: ORA-00600: internal error code, arguments: [ktspfnsb-1], [1], [1], [], [], [], [], [], [], [], [], []
ORA-06512: at “SYS.DBMS_STATS”, line 29628
根据错误信息,导致 ORA-600[ktspfnsb-1] 的是统计信息收集的 JOB,这个问题毫无疑问属于 Oracle 的 bug,查询 MOS 发现这个 BUG 虽然已经确认,但是还没有给出最终的解决方案:Bug 14694342 : DBMS_STATS.GATHER_TABLE_STATS FAILED WITH ORA-00600[KTSPFNSB-1][1][1]。
这个问题目前出现的概率很低,且问题发生在收集统计信息的过程中,对系统影响不大,且可以通过其他手段绕过,对系统影响不大,可以后期关注 Oracle 的解决方案。
更多 Oracle 相关信息见 Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新链接地址 :http://www.linuxidc.com/Linux/2017-05/143516.htm