You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/interactive-commands.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,17 @@ Both interfaces may serve at the same time. Both respond to simple text command,
20
20
-`chunk-size=<newsize>`: modify the `chunk-size`; applies on next running copy-iteration
21
21
-`max-lag-millis=<max-lag>`: modify the maximum replication lag threshold (milliseconds, minimum value is `100`, i.e. `0.1` second)
22
22
-`max-load=<max-load-thresholds>`: modify the `max-load` config; applies on next running copy-iteration
23
-
The `max-load` format must be: `some_status=<numeric-threshold>[,some_status=<numeric-threshold>...]`. For example: `Threads_running=50,threads_connected=1000`, and you would then write/echo `max-load=Threads_running=50,threads_connected=1000` to the socket.
24
-
-`critical-load=<load>`: change critical load setting (exceeding given thresholds causes panic and abort)
25
-
-`nice-ratio=<ratio>`: change _nice_ ratio: 0 for aggressive (not nice, not sleeping), positive integer `n`: for any `1ms` spent copying rows, spend `n*1ms` units of time sleeping. Examples: assume a single rows chunk copy takes `100ms` to complete. `nice-ratio=0.5` will cause `gh-ost` to sleep for `50ms` immediately following. `nice-ratio=1` will cause `gh-ost` to sleep for `100ms`, effectively doubling runtime; value of `2` will effectively triple the runtime; etc.
23
+
- The `max-load` format must be: `some_status=<numeric-threshold>[,some_status=<numeric-threshold>...]`'
24
+
- For example: `Threads_running=50,threads_connected=1000`, and you would then write/echo `max-load=Threads_running=50,threads_connected=1000` to the socket.
25
+
-`critical-load=<critical-load-thresholds>`: modify the `critical-load` config (exceeding these thresholds aborts the operation)
26
+
- The `critical-load` format must be: `some_status=<numeric-threshold>[,some_status=<numeric-threshold>...]`'
27
+
- For example: `Threads_running=1000,threads_connected=5000`, and you would then write/echo `critical-load=Threads_running=1000,threads_connected=5000` to the socket.
28
+
-`nice-ratio=<ratio>`: change _nice_ ratio: 0 for aggressive (not nice, not sleeping), positive integer `n`:
29
+
- For any `1ms` spent copying rows, spend `n*1ms` units of time sleeping.
30
+
- Examples: assume a single rows chunk copy takes `100ms` to complete.
31
+
-`nice-ratio=0.5` will cause `gh-ost` to sleep for `50ms` immediately following.
32
+
-`nice-ratio=1` will cause `gh-ost` to sleep for `100ms`, effectively doubling runtime
33
+
- value of `2` will effectively triple the runtime; etc.
26
34
-`throttle-query`: change throttle query
27
35
-`throttle-control-replicas='replica1,replica2'`: change list of throttle-control replicas, these are replicas `gh-ost` will check. This takes a comma separated list of replica's to check and replaces the previous list.
0 commit comments