Query infoschema tables in a large cluster may encounter OOM issue #58985
Labels
affects-8.5
This bug affects the 8.5.x(LTS) versions.
component/ddl
This issue is related to DDL of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Prepare 1M tables.
2. What did you expect to see? (Required)
Return the result or report the error like "Your query has been cancelled due to exceeding the allowed memory limit for a single SQL query. Please try narrowing your query scope or increase the tidb_mem_quota_query limit and try again".
3. What did you see instead (Required)
TiDB OOM and panic.
4. What is your TiDB version? (Required)
1f74ac3
The text was updated successfully, but these errors were encountered: