Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: Tikv 节点扩容后,数据均衡期间,PD调度相关的参数如何选择
[TiDB Usage Environment] Production Environment
[TiDB Version] V5.3.0
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
Due to insufficient disk space in the TiDB cluster, it was decided to expand the TIKV nodes. It is hoped that during the data balancing process after expansion, the impact on business operations can be minimized. The following parameters are available for adjustment: region-schedule-limit
, leader-schedule-limit
, store limit
, etc.
Default values are as follows:
leader-schedule-limit 4
region-schedule-limit 2048
"store-limit": {
"1": {
"add-peer": 15,
"remove-peer": 15
},
"2": {
"add-peer": 15,
"remove-peer": 15
"3": {
"add-peer": 15,
"remove-peer": 15
Teacher, how should we choose among the three limits mentioned above? If we reduce region-schedule-limit
and leader-schedule-limit
, what are the recommended values?