Skip to content

Commit ad3d1b2

Browse files
author
Shlomi Noach
committed
beautify
1 parent 34a7306 commit ad3d1b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/subsecond-lag.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ As a common example, many use [pt-heartbeat](https://www.percona.com/doc/percona
2626

2727
Note `--interval=0.1` to indicate `10` heartbeats per second.
2828

29-
You would then provide `--replication-lag-query="select unix_timestamp(now(6)) - unix_timestamp(ts) as ghost_lag_check from your_schema.heartbeat order by ts desc limit 1"`
29+
You would then provide
30+
31+
gh-ost ... --replication-lag-query="select unix_timestamp(now(6)) - unix_timestamp(ts) as ghost_lag_check from your_schema.heartbeat order by ts desc limit 1"
3032

3133
Our production migrations use sub-second lag throttling and are able to keep our entire fleet of replicas well below `1sec` lag.

0 commit comments

Comments
 (0)