Alert after a single statement exceeds memory limit and reports an error

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 单条语句超过内存限制报错后,告警

| username: chenhanneu

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed that caused the issue
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]


Will TiDB log SQL statements that exceed memory limits somewhere for alerting purposes?

| username: tidb菜鸟一只 | Original post link

There will be logs.

| username: chenhanneu | Original post link

Are there any other places besides the logs?