I am very interested in this discussion. We settled a table with a single timestamp field that a script updates every minute with NOW() so that we can check the timestamp of that table on the replica, assuming the clocks are synced, then we will be able to compute the lag.
- Logical replication lag in seconds Klaus Darilion
- Re: Logical replication lag in seconds Michael Lewis
- Re: Logical replication lag in seconds Klaus Darilion
- Re: Logical replication lag in seconds Klaus Darilion