Lag is now monitored in bytes, we show replication lag

and applied lag
This commit is contained in:
postgres
2010-09-14 01:40:59 -05:00
parent 7ad17f7f48
commit 7ec3485811
3 changed files with 75 additions and 43 deletions

View File

@@ -13,6 +13,6 @@ CREATE TABLE repl_status(
last_wal_primary_location TEXT NOT NULL,
last_wal_standby_location TEXT NOT NULL,
last_wal_standby_timestamp TIMESTAMP WITH TIME ZONE NOT NULL,
lag_time INTERVAL NOT NULL
-- num_wal_packets INTEGER NOT NULL
replication_lag BIGINT NOT NULL,
apply_lag BIGINT NOT NULL
);