Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 磁盘大小1.9T但是region leader高达将近9万个,region总数27万个
[TiDB Usage Environment] Production Environment / Testing / PCO
Production Environment
[TiDB Version]
5.1.X
[Encountered Issues]
The disk size is 1.9T, but the number of region leaders is nearly 90,000, and the total number of regions is 270,000.
There are no empty regions, and silent regions are enabled.
This may be causing pressure on the raft store. How can this issue be investigated? Why are there so many regions?
On this cluster, the execution time of the same SQL with limit 10 and limit 1000 differs by more than 5 times, even though the execution plans are identical. Why is there such a large difference?
[Reproduction Path] What operations were performed to encounter the issue
[Issue Phenomenon and Impact]
[Attachments]
Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.