Tidb频繁oom大佬帮我分析下SQL

你先看看这个 吧内存限制下,然后逐条慢sql优化
https://docs.pingcap.com/zh/tidb/v5.4/configure-memory-usage