重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1653|回复: 0
打印 上一主题 下一主题

[Oracle] 12c以上报警:WARNING: too many parse errors

[复制链接]
跳转到指定楼层
楼主
发表于 2023-1-30 16:49:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
12c以上ORACLE数据库,报警日志中,大量报警日志:WARNING: too many parse errors,可以通过修改以下参数解决:
alter system set "_kks_parse_error_warning"=0;

具体参见: Doc ID 2320935.1

附:

'WARNING: too many parse errors' in the 12.2 Alert.log (Doc ID 2320935.1)               

In this Document
Symptoms
Cause
Solution
References

APPLIES TO:
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
SYMPTOMS
The following messages are generated in the alert.log frequently:
WARNING: too many parse errors, count=29200 SQL hash=0x2473a808
PARSE ERROR: ospid=7013, error=942 for statement:
2017-05-30T08:19:13.196642-06:00
select col1, col2 from testtab where col1=1;
The "error=942" indicates the underlying cause why the SQL cannot be parsed successfully. In this case, error=942 means ora-942: table or view does not exist

CAUSE
The similar issue is being investigated in following bug:

BUG 26184177 - "WARNING: TOO MANY PARSE ERRORS" IN THE ALERT.LOG <===closed as duplicate to following bug:
Bug 16945190 DIAGENH: DUMPING PARSE FAILURES AUTOMATICALLY W/O EVENT 10035
The base bug revealed that the feature to print parse error message into alert log is introduced in fix of 16945190 to detect parse failure without setting event 10035.

The main reason you are seeing this error in alert log, is the problematic SQL cannot be parsed successfully. Most of time the problem is due to application issue.

SOLUTION
The solution is to fix the underlying parse failure issue.

Alternatively you can set _kks_parse_error_warning=0 to mute the warning, but it is not recommended, since parse failure is harmful to database performance, it can cause various mutex/latch/library cache lock contention.


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-16 08:08 , Processed in 0.122822 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表