Postgres replication lag

March 18, 2019 — Tolstoevsky

Note to self - easiest way to check PostgreSQL replication delay in human-readable format: select extract(epoch from (now()-pg_last_xact_replay_timestamp()));

Tags: postgresql, mini-howto

comments powered by Disqus