PostgreSQL monitoring

PostgreSQL monitoring without agents

dbCove monitors every PostgreSQL instance from one place, next to your Oracle and SQL Server databases. Nothing is installed on the server, one role in pg_monitor is enough, and 29 Radar detectors report wraparound, a held xmin horizon or a slot that keeps WAL while there is still time to act.

What dbCove watches on PostgreSQL

Radar Engine for PostgreSQL

Radar Engine catches the problems that are hardest to see before they break an instance. For a problem that already happened, it is the strongest way to reach the root cause.

On PostgreSQL it runs 29 detectors:

GroupDetectors
LoadBlocking pile-up, wait wave, load surge, throughput collapse, synchronous commit wait, deadlock burst, rollback surge, WAL surge
ResourcesConnection limit, CPU saturation, memory running out, I/O latency
SQLOne statement taking over, plan regression, temp file spill
SpaceDisk filling, transaction ID wraparound, sequence running out, slot holding WAL
AvailabilityStandby not streaming, replication lag, role change, restart, WAL archiver failing, corruption
StateVacuum falling behind, xmin horizon held, configuration change, record hour

A finding names its cause. Wraparound is reported with the reason the age does not fall: a session, a prepared transaction or a replication slot that holds the xmin horizon, autovacuum turned off, or every autovacuum worker busy.

Agentless, with one role

dbCove connects to the instance at its host and port like any client, with one role that is a member of pg_monitor. It is not a superuser. dbCove reads every database of the instance through that connection, and nothing is installed on the server.

Sessions, waits, locks and Radar work from the first minute. Where pg_stat_statements is loaded, dbCove adds the statistics of every statement. An optional OS credential over SSH adds the CPU, memory and disk of the host and the server log, where PostgreSQL writes the detail of a deadlock. The connection test says what it found and writes the steps for the rest.

What it monitors

One platform for Oracle, SQL Server, PostgreSQL, MySQL and MongoDB

The same installation monitors Oracle and SQL Server. Each engine has its own Dashboard, Live Activity, Insights, Metrics, Health Check, Sizing and Radar detectors, in its own terms, and all of them share one Databases page, one alert log and one set of reports. See database monitoring with dbCove.

Questions

Does dbCove install an agent on the PostgreSQL server?
No. dbCove connects to the instance like any client and installs nothing on the server.

Which role does dbCove need on PostgreSQL?
One role that is a member of pg_monitor, with CONNECT on the database the connection opens in. It is not a superuser. The connection test writes the script for anything that is missing.

Does dbCove need pg_stat_statements?
dbCove samples the sessions itself, so activity, waits, locks and Radar Engine work from the first minute. Where pg_stat_statements is loaded, dbCove adds the statistics of every statement.

How does dbCove warn of transaction ID wraparound?
Radar Engine follows the transaction ID and multixact age of every database and how fast it rises, and reports it long before PostgreSQL stops accepting writes. The finding says why the age does not fall: what holds the xmin horizon, autovacuum turned off, or every worker busy.

Which PostgreSQL versions does dbCove monitor?
PostgreSQL 16, 17 and 18, primaries and standbys.

What does PostgreSQL monitoring cost with dbCove?
Community is free for 2 PostgreSQL instances, with Radar Engine, alerts and reports. Professional is $249 per instance a year, each further one costs 3% less, down to $199. An instance counts once, however many databases it holds.

Can the same installation monitor Oracle and SQL Server?
Yes. Oracle, SQL Server, PostgreSQL, MySQL and MongoDB are monitored from one dbCove server, on one Databases page.

Start

Open the live demo, or download dbCove. It is free for 2 PostgreSQL instances. To connect the first one, see Add a database and system requirements.

Related