SQL hang for analyze table when exceed tidb_mem_quota_analyze #48356
Labels
affects-7.5
component/statistics
severity/moderate
sig/planner
SIG: Planner
type/bug
This issue is a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
use test;
use the file tests/integrationtest/t/executor/analyze.test L3-L796 to load data.
set global tidb_mem_quota_analyze=128;
analyze table t1;
analyze table t1;
analyze table t1;
analyze table t1;
analyze table t1;
analyze table t1;
2. What did you expect to see? (Required)
Can cancel the sql or run successfully.
3. What did you see instead (Required)
Hang.
4. What is your TiDB version? (Required)
master-6020ede217
The text was updated successfully, but these errors were encountered: