Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 20亿分区表,add parition会有元数据锁么?
[TiDB Usage Environment] Production Environment / Testing / PoC
Production Environment
[TiDB Version]
v4.0.8
[Reproduction Path] Operations performed that led to the issue
[Encountered Issue: Issue Phenomenon and Impact]
Need to add a partition to a partitioned table with 2.2 billion rows of data. Noticed that there might be a metadata lock and want to confirm the lock wait situation and its impact range.
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots / Logs / Monitoring]