Oracle 12CR2 中alert.log出现大量的 WARNING: too many parse errors 告警
日志如下:
2018-06-24T17:16:21.024586+08:00
WARNING: too many parse errors, count=3800 SQL hash=0x03b77f5b
PARSE ERROR: ospid=6223, error=1031 for statement:
2018-06-24T17:16:21.024699+08:00
UPDATE T_INFO_BLOCKCHAINS SET block_num = :1 WHERE chain_id = :2 AND block_num < :3
Additional information: hd=0x125807c50 phd=0x14d894838 flg=0x100476 cisid=112 sid=112 ciuid=112 uid=112
原因:参考文档 2320935.1 ,是因为 ora-1031 引起的,此错误是无权限的报错。
根据上下文的意思,排查发现,
SLUCEXTWOUSER 用户 对SLUCEXTWO.T_INFO_BLOCKCHAINS的 block_num 列无update权限。
解决办法:
grant update(block_num) on SLUCEXTWO.T_INFO_BLOCKCHAINS to SLUCEXTWOUSER;
参考文档:'WARNING: too many parse errors' in the 12.2 Alert.log (文档 ID 2320935.1)