Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 动态分区裁剪下收集统计信息在做globalstats合并的时候,耗时很久未完成,hang住了

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[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]
SQL Error: disable dynamic pruning due to t gm lon cont has no global stats
Then collect statistics: ANALYZE table ###;
It took a long time and did not complete, observed show analyze status;
Suspected to be hanging