From 27d3b09f9713e21c85fe61d2bf2be8a923f77cd9 Mon Sep 17 00:00:00 2001 From: lilin90 Date: Tue, 9 Oct 2018 13:50:42 +0800 Subject: [PATCH] tools: update operator Region split Via: https://github.com/pingcap/docs-cn/pull/866 --- tools/pd-control.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/pd-control.md b/tools/pd-control.md index 23ebdf97b794a..402d3ad572df4 100644 --- a/tools/pd-control.md +++ b/tools/pd-control.md @@ -360,7 +360,7 @@ Success! ### `operator [show | add | remove]` -Use this command to view and control the scheduling operation. +Use this command to view and control the scheduling operation, split a Region, or merge Regions. Usage: @@ -380,6 +380,8 @@ Usage: >> operator remove 1 // Remove the scheduling operation of Region 1 ``` +The splitting of Regions starts from the position as close as possible to the middle. You can locate this position using two strategies, namely "scan" and "approximate". The difference between them is that the former determines the middle key by scanning the Region, and the latter obtains the approximate position by checking the statistics recorded in the SST file. Generally, the former is more accurate, while the latter consumes less I/O and can be completed faster. + ### `ping` Use this command to view the time that `ping` PD takes.