【情景再现】

生产环境,JAVA程序某功能报错:

ORA-00600: 内部错误代码, 参数: [qctcte1], [0], [], [], [], [], [], []

【问题排查】

1.检查Oracle的alert日志,发现如下行:

Tue Sep 17 17:11:04 2013
Errors in file /oracle/admin/kyy/udump/kyy_ora_5613.trc:
ORA-00600: 内部错误代码, 参数: [qctcte1], [0], [], [], [], [], [], []

2.继续追踪kyy_ora_5613.trc,发现如下行:

*** 2013-09-17 17:11:04.712
ksedmp: internal or fatal error
ORA-00600: 内部错误代码, 参数: [qctcte1], [0], [], [], [], [], [], []
Current SQL statement for this session:
select ……  from …… ORDER BY ……

3.在开发环境和生产环境测试问题SQL:

/* Formatted on 2013/09/25 10:42 (Formatter Plus v4.8.8) */
SELECT   a.formid, flowtempletno, laststep, waitrunsetp, status,lastoperperson, lastopertime, createpersonid, createpersonname,createtime, lastmodifypersonid, lastmodifytime, infodepFROM bg_forminfo aWHERE moduleno = :1AND formid IN (SELECT DISTINCT a.formidFROM bg_forminfo a,bg_flowstep b,v_bg_flowuser d,bg_flowtemplet eWHERE a.status = :2AND e.moduleno = :3AND a.flowtempletno = e.flowtempletnoAND a.formid = b.formidAND b.stepno = a.waitrunsetpAND b.roleno = d.rolenoAND b.managescope = d.managescopeAND d.personid = :4AND a.waitrunsetp != 1)
ORDER BY (SELECT columvalueFROM bg_forminfodetail bWHERE formid = a.formid AND columnen = 'gds_ycsj') DESC,(SELECT columvalueFROM bg_forminfodetail bWHERE formid = a.formid AND columnen = 'gds_lxrxm')

结果如下:

Oracle版本 OS版本 执行结果
Oracle 10.2.0.1 64bit CentOS 5.3 64bit PASS
Oracle 10.2.0.4 32bit Windows 2003 Enterprise 32bit PASS
Oracle 10.2.0.4 64bit Ignite-UX revision C.7.9.254 (ia64 hp server rx6600) ERROR

4.分析SQL,查找报错原因:

根据官方对于ORA-00600 [qctcte1]的解释,出错原因有可能是ORDER BY 语句,

修改ORDER BY 中的排序列,执行通过。

【问题回顾】

遇到ORA-00600问题,

开始以为Oracle的参数设置有误,对比开发和生产数据库的版本和参数未发现问题(cursor_sharing);

接着怀疑程序连接数据库的classes12.jar,生产和开发使用的都是10.2.0.1版本的classes12.jar,

最后根据Oracle官方解释,问题定位在SQL的ORDER BY中。

【参考资料】

ORA-00600: internal error code, arguments: [string], [string], [string], [string], [string], [string], [string], [string]
Cause: This is the generic internal error number for Oracle program exceptions.
This indicates that a process has encountered an exceptional condition.
Action: Report as a bug - the first argument is the internal error number

ERROR: ORA-600 [qctcte1] [a]
VERSIONS: versions 9.1 to 11.1
DESCRIPTION: Inconsistent datatype is reported during typechecking when parsing a query.
ARGUMENTS: Arg [a] Current data type FUNCTIONALITY: Query Compile Typecheck
IMPACT: PROCESS FAILURE NON CORRUPTIVE - No underlying data corruption.
SUGGESTIONS: If the Known Issues section below does not help in terms of identifying a solution,
please submit the trace files and alert.log to Oracle Support Services for further analysis.

Known Issues:
Bug# 8541212
See Note 8541212.8 OERI [qctcte1] with function based index and OLD style join push predicate
Fixed: 11.2

Bug# 7476591
See Note 7476591.8 OERI[qctcte1] / dump (evaopn2) from SQL with correlated subquery
Fixed: 10.2.0.5, 11.2

Bug# 6815733
See Note 6815733.8 OERI [qctcte1] from cost based transformation with subquery in ORDER BY clause
Fixed: 10.2.0.5, 11.2, 10.2.0.3.P23, 10.2.0.4.P01, 11.1.0.6.P12, 11.1.0.7.P01

Bug# 6609623
See Note 6609623.8 OERI:qctcte1 from CONNECT BY query with "ORDER SIBLINGS BY" clause
Fixed: 10.2.0.5, 11.2

Bug# 6316585
See Note 6316585.8 Dump / OERI from complex view merging
Fixed: 10.2.0.5, 11.1.0.7, 10.2.0.3.P19, 10.2.0.3.P26

Bug# 6145570
See Note 6145570.8 Wrong results / OERI from LIKE with join predicate pushdown
Fixed: 10.2.0.5, 11.1.0.7, 10.2.0.3.P11, 11.1.0.6.P01

Bug# 6075238
See Note 6075238.8 OERI[qctcte1] on parse of query with views / subqueries
Fixed: 10.2.0.4, 11.1.0.7, 11.2

Bug# 6061623
See Note 6061623.8 OERI:qctcte1 from cost based transformation of INSERT as SELECT with TO_LOB
Fixed: 10.2.0.5, 11.1.0.7, 11.2, 10.2.0.3.P13

Bug# 6047490
See Note 6047490.8 ORA-932 / OERI:qctcte1 using CONNECT_BY_ROOT
Fixed: 10.2.0.5, 11.2, 10.2.0.4.P15

Bug# 6012053
See Note 6012053.8 OERI [qctcte1] from GROUPING SETs query
Fixed: 10.2.0.4, 11.1.0.6, 10.2.0.3.P18

Bug# 5617382
See Note 5617382.8 OERI[qctcte1] with the fix from Bug 5259868
Fixed: 10.2.0.4, 11.1.0.6

Bug# 5395270
See Note 5395270.8 OERI[qctcte1] / dump / wrong results from view merging
Fixed: 10.2.0.4, 11.1.0.6, 10.2.0.3.P15

Bug# 5382842
See Note 5382842.8 Select fails with OERI[qctcte1] using cost based transformation
Fixed: 10.2.0.4, 11.1.0.6, 10.2.0.2.P09, 10.2.0.3.P05

Bug# 5371149
See Note 5371149.8 OERI[qctcte1] from query with CONNECT BY
Fixed: 10.2.0.4, 11.1.0.6, 10.2.0.2.P10, 10.2.0.3.P05

Bug# 4735795
See Note 4735795.8 OERI:qctcte1 with UNION in an "and exists" subselect
Fixed: 10.2.0.3, 11.1.0.6

Bug# 3963092
See Note 3963092.8 OERI[qctcte1] compiling SQL with ORDER BY .. DESC
Fixed: 10.1.0.4, 10.2.0.1

Bug# 3730166
See Note 3730166.8 OERI [qctcte1] / [kghssgcop2] from ANSI outer joins with binds
Fixed: 10.1.0.5, 10.2.0.1

Bug# 3557906
See Note 3557906.8 OERI[qctcte1] from predicate move around
Fixed: 9.2.0.6, 10.1.0.4, 10.2.0.1

Bug# 3216046
See Note 3216046.8 OERI:qctcte1 running a query with a subquery in SELECT list
Fixed: 9.2.0.5, 10.1.0.2

Bug# 3121670
See Note 3121670.8 OERI:qctcte1 can occur on VIEW with HAVING clause with STAR transformation
Fixed: 9.2.0.5, 10.1.0.2

Bug# 3110923
See Note 3110923.8 Dump (in qmxtrxopt) using ORDER BY .. DESC on a CONSTANT column
Fixed: 9.2.0.5

Bug# 2458655
See Note 2458655.8 OERI[QCTCTE1] from FULL OUTER JOIN with BIND variable in subquery
Fixed: 9.2.0.3, 10.1.0.2

Bug# 2357784
See Note 2357784.8 OERI[QCTCTE1] parsing ANSI OUTER JOIN with a VIEW with a SET operation (eg: UNION ALL)
Fixed: 9.2.0.2

Bug# 2105452
See Note 2105452.8 OERI:QCTCTE1 possible from inline UNION view with binds
Fixed: 9.0.1.4, 9.2.0.1

Bug# 2100837
See Note 2100837.8 OERI:QCTCTE1 possible using INLIST predicates
Fixed: 9.0.1.3, 9.2.0.1

Bug# 2092554
See Note 2092554.8 OERI:qctcte1 / ORA-979 from multi-hierarchy query using materialized view
Fixed: 9.0.1.3, 9.2.0.1

Bug# 1970507
See Note 1970507.8 OERI:18096 from OUTER JOIN in MERGE USING clause in PLSQL
Fixed: 9.0.1.2, 9.2.0.1

转载于:https://www.cnblogs.com/leemoby/p/3338321.html

ORA-00600: 内部错误代码, 参数: [qctcte1]相关推荐

  1. SQL 错误: ORA-00600: 内部错误代码, 参数: [qcsfbdnp:1], [], [], [], []

    call CREATEZHIBIAOPART2('cy_prop_reason','2014-02-18','PropReason');commit;call CY_ALL_GAOJINSHUCHU( ...

  2. ora00600内部错误代码oracle,ORA-00600: 内部错误代码, 参数: [13013]

    ORA-00600: 内部错误代码 , 参数 : [13013] 数据库版本: Oracle 11.2.0.1.0 数据库服务器操作系统: Windows server 2008 错误号 (1) : ...

  3. oracle错误: ORA-00600: 内部错误代码, 参数: [kkqcscpopn_Int: 0], [], [], [], [], [], [], [], [], [], [], []...

    ------------背景-------- 本机是win7+oracle11g(11.1) 服务器2003+oracle11g(11.2) -------------问题--------- 在本机上 ...

  4. Oralce数据库断电之ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [37]

    数据库运行 startup 打开失败,报错 ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [37] SQL> startup; ...

  5. ORA-00600 内部错误代码, 参数 [19004]

    GPS平台.网站建设.软件开发.系统运维,找森大网络科技! https://cnsendnet.taobao.com 来自森大科技官方博客 http://www.cnsendblog.com/inde ...

  6. ORA-00600: 内部错误代码, 参数: [19004], [], [], [], [], []

    <问题描述> ORACLE 10.1 OR 10.2中所有平台都存在该问题. <问题现象>  在进行多表关联复杂查询时出现  ORA-00600: 内部错误代码, 参数: [1 ...

  7. 巧遇ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr]

    下午开发人员说测试数据库起不来了, 呵呵 开发和测试数据库,我向来不管的,反正JAVA工程师是万能,啥都会! 问他是咋回事呢? 他说是停电了, 欺负我书读的少呢? 上午还给你修改了数据库占用内存的大小 ...

  8. ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr]

    早上同事说连不上fgdb但是可以连上xpnew这个库,让我给看下.第一反应是昨天停电服务器没有起来,然后自己测试连接如下. C:\Windows\System32>sqlplus system/ ...

  9. oracle掉电后ora 00600,ORA-00600: 内部错误代码, 参数: [kcratr1_lastbwr](转)

    原因: 可能是非法关机或掉电造成,以下是出 现的问题及解决方法: C:/Documents and Settings /Administrator>sqlplus SQL*Plus: Relea ...

最新文章

  1. 2010年的退休畅想
  2. 13种编程语言名称的来历
  3. 任命新CFO 百度迎来首位女性高管
  4. 【Groovy】Groovy 方法调用 ( Java 类成员及 setter 和 getter 方法设置 | Groovy 类自动生成成员的 getter 和 setter 方法 )
  5. UA MATH571A R语言回归分析实践 一元回归3 NBA球员的工资
  6. 深入理解r2dbc-mysql
  7. 外媒:麦当劳、星巴克、必胜客开始在萨尔瓦多接受比特币支付
  8. 简单循迹小车实验心得_智能循迹小车总结 智能循迹小车报告.doc
  9. CentOS 6.5搭建Redis3.2.8单机分布式集群
  10. 【论文解读】EMNLP2019 如何在Transformer中融入句法树信息?这里给出了一种解决方案...
  11. 【渝粤教育】国家开放大学2018年秋季 0169-22T工程制图基础 参考试题
  12. Android解析ClassLoader(二)Android中的ClassLoader
  13. 积分matlab实现
  14. UTF-8,Unicode,GBK,希腊字母读法,ASCII码表,HTTP错误码,URL编码表,HTML特殊字符,汉字编码简明对照表...
  15. Linux下基于TCP的视频传输(c++ )
  16. CSS超链接标记大全
  17. iphone5刷android,iphone5s怎么刷机 简单几招搞定iOS【图文教程】
  18. 手机屏幕到底要多大才算是个头?
  19. 职业生涯自我规划五步法
  20. 西门子服务器装系统,IPC427D重新安装系统

热门文章

  1. 主流浏览器及四大内核
  2. 西门子精智comfort系列面板下载程序的几种方法_参考手册(以太网+PN+USB方式)
  3. 【目标检测】SPP-Net中候选区域在原图和feature map之间的映射关系
  4. 在深圳网络营销培训学习中:让你的心情靓丽起来吧
  5. 荣耀Earbuds 3 Pro携三大全球首发强势破局旗舰耳机市场
  6. Target(US)塔吉特审核申请注意事项
  7. C语言--判断一个数的奇偶
  8. CH1-语言模型和解码算法
  9. php mysql分表分库_MySQL分表和分库方案(php版)
  10. “明星产品”爱鸿森的创新之路