Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: TIDB 参数split-table对性能的影响
[TiDB Usage Environment] Production Environment
[TiDB Version] V 7.1.0
[Encountered Problem: Problem Phenomenon and Impact] If the number of tables in the TiDB cluster is relatively large [reaching 50,000+], I see there is a split-table parameter in the official documentation. I would like to ask if this parameter will have a performance impact in a scenario with more than 50,000 tables.
This way, at least one table will have one region, and excessive regions can also burden the cluster, such as region heartbeats, etc. Another feature of cross-table merging is to reduce the number of regions by placing small tables into one region.
For 50,000 tables, is it recommended to set this parameter to FALSE?
It is recommended to set it to false.
You can keep this parameter at its default setting. In previous versions, the parameter schedule.enable-cross-table-merge
needed to be set to true to control cross-table merging. In the current version, neither of these parameters needs to be adjusted.