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
@@ -22,7 +23,7 @@ This is a three-part series on replication lag with MTR and the Performance Sche
22
23
|2|Replica preserve commit order (RPCO)|
23
24
|3|Monitoring MTR lag with the Performance Schema|
24
25
25
-
Links to each part (once they're published) are in the upper right ↗ (or top on small screens).
26
+
Links to each part are in the upper right ↗ (or top on small screens).
26
27
This part presumes you've read part 1.
27
28
28
29
<divclass="note">
@@ -150,7 +151,7 @@ Transaction gaps are a challenge for replication lag: is the lag 8s (measured fr
150
151
([Recall](#diagram-conventions) that each trx takes 1s to execute and trx 10 represents the current time.)
151
152
DBAs tend to agree that the conservative, low watermark is the better answer: 8s.
152
153
153
-
<mark>With MTR, replication lag is measured from the _oldest_ applying (or applied) transaction.</mark>
154
+
<mark>With MTR, replication lag is measured from the _oldest_ applying (or last applied) transaction.</mark>
154
155
There's additional nuance to this approach that part 3, once published, will explain.
155
156
156
157
Without careful consideration of application logic, `replica_preserve_commit_order = OFF` is _not_ a safe assumption.
@@ -322,4 +323,4 @@ Have you?
322
323
323
324
To investigate further and better, MTR metrics and instrumentation are needed.
324
325
It'd be really nice if there was a status variable like `Repl_commit_order_waits`, but there isn't.
325
-
The forthcoming part 3 of this series will look at what metrics and instrumentation are available, especially in terms of monitoring replication lag which, at the end of the day, is the primary objective: to keep replication lag as close to zero as possible.
326
+
[Part 3]({{< ref "monitoring-replication-lag-with-performance-schema" >}}) of this series looks at what metrics and instrumentation are available, especially in terms of monitoring replication lag which, at the end of the day, is the primary objective: to keep replication lag as close to zero as possible.
0 commit comments