PostgreSQL bgworker for easy replication monitoring
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
Makefile
README
repl_mon.c

README

repl_mon, custom bgworker for PostgreSQL
=========================================

Background worker which writes current timestamp, current xlog location and
number of streaming replics to a certain table every certain interval of time.

It is useful for monitoring replication of PostgreSQL instances:
 - in seconds, not only in bytes,
 - without the need to have superuser option for monitoring user.

This worker can use the following parameters:
 - repl_mon.interval, time (ms) between writing information to table.
 - repl_mon.table, name of the table to write data to, default is "repl_mon".

This worker is compatible with PostgreSQL 9.3 and newer versions.

More info could be found in this blog entry --
https://simply.name/postgresql-replication-monitoring.html.