1.19.16 RAC库,alter日志告警
2023-10-10T16:09:24.562724+08:00
WARNING: too many parse errors, count=32819 SQL hash=0x3876c7a0
PARSE ERROR: ospid=239197, error=942 for statement:
Additional information: hd=0x363f03440 phd=0x363f03878 flg=0x100476 cisid=114 sid=114 ciuid=114 uid=114 sqlid=6qctunnw7djx0
...Current username=MS
...Application: JDBC Thin Client Action:
2.找到具体SQL
INSERT INTO SYTM_LG (
UUID, SYTM, MTHOD, ATIN, IP, DSCRIPTIN, USENAM, UEID,CREATDAT,CRATDT,PARA,RQUESTUL,USRAGEN
)
values (:1 , :2 , :3 , :4 , :5 , :6 , :7 ,
:8 ,sysdate,to_char(sysdate,'yyyyMMdd'),:9 ,:10 ,:11 )
3.从12.2开始,如果sql解析失败超过一定次数,会在alert日志中记录类似警告信息,便于对其进行排查;通过查询mos,确认相关记录是通过_kks_parse_error_warning参数来控制,默认每100次解析失败写入alert日志一次;由于某种原因,解析错误sql,短期内无法进行修改,又不想让其在alert中提示,可以通过设置该值为0,实现让其不记录在alert日志中
alter system set "_kks_parse_error_warning"=0 ;
原文:
https://www.xifenfei.com/tag/_kks_parse_error_warning
标签:errors,many,kks,alert,parse,114,error,日志 From: https://www.cnblogs.com/ss-33/p/17755130.html