今日巡检遇到了Ora-07445[Qcsanalyzebooleanexpr()]错误,trace文件除了发现上篇的waring提示,就是该错误涉及的SQL了,查看MOS:Ora-07445[Qcsanalyzebooleanexpr()] may occur due to Large Size SQL Query (Doc ID 417784.1),可以确定是由于SQL的长度超过了限制引起,这是一个未公开的Bug 2837580引起。
原因:
处理办法:
SYMPTOMS
The ORA-07445:[qcsAnalyzeBooleanExpr()] When Number of literals in the Sql Text is > ~35,000
Call Stack :
ksedmp ssexhd sigacthandler qcsAnalyzeBooleanExpr复制
原因:
This Problem is due to an Unpublished Bug 2837580
Abstract: Sigsegv In Server Process With Large Query, Larger Than Documented Limit Of 64KB复制
处理办法:
The Bug has been fixed in 11g RDBMS Release
To resolve this Error, Please do any of the Following
1. Apply 10.2.0.4 patchset
or
10.2.0.3 Patch 13 or higher on Windows platform
2. Upgrade the DB to 11g
Or
3. Workaround:
1. Reduce the size of SQL query .
2. Put the long list of numbers in another table and convert the query with IN condition.
You may be able to work around the problem by re-writing the query.
Just put the long list of numbers in another table,and convert the IN condition.
For example, create a table as follows:
create table ID_LIST1 ( ID number );
Then insert the numbers 138848, 138849, 138850, etc. into that table.
Then change the IN condition above as follows:
or D1.DGID in (select ID from ID_LIST1)
That should help you to substantially reduce the size of the original 2.7 MB query.复制
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
评论
相关阅读
Oracle DataGuard高可用性解决方案详解
孙莹
556次阅读
2025-03-26 23:27:33
Oracle RAC 一键安装翻车?手把手教你如何排错!
Lucifer三思而后行
516次阅读
2025-04-15 17:24:06
XTTS跨版本迁移升级方案(11g to 19c RAC for Linux)
zwtian
420次阅读
2025-04-08 09:12:48
墨天轮个人数说知识点合集
JiekeXu
420次阅读
2025-04-01 15:56:03
【纯干货】Oracle 19C RU 19.27 发布,如何快速升级和安装?
Lucifer三思而后行
419次阅读
2025-04-18 14:18:38
Oracle SQL 执行计划分析与优化指南
Digital Observer
416次阅读
2025-04-01 11:08:44
Oracle数据库一键巡检并生成HTML结果,免费脚本速来下载!
陈举超
380次阅读
2025-04-20 10:07:02
Oracle 19c RAC更换IP实战,运维必看!
szrsu
360次阅读
2025-04-08 23:57:08
【活动】分享你的压箱底干货文档,三篇解锁进阶奖励!
墨天轮编辑部
335次阅读
2025-04-17 17:02:24
oracle定时任务常用攻略
virvle
325次阅读
2025-03-25 16:05:19
TA的专栏