Skip to content

Database monitor

The health of every connected database: what is checked, the metrics that come with it, and how an incident starts.

What is checked

Each connection can have a monitor. It runs, on a clock, the same health test the connections screen uses. A new connection starts with its monitor on, every 5 minutes; you can switch it off when creating the connection or change the interval later.

When the database answers, the monitor uses the same connection to read the engine’s own statistics: active sessions and their ceiling, idle transactions, blocked sessions, the oldest running query, cache hit ratio, database size and replication lag. What the engine does not report is left blank, never zero.

Rules on the metrics

On the connection screen, a rule states the limit that matters, for example “sessions above 80% of the ceiling for 5 minutes”. It only fires after the tolerance period and tells you again when things are back to normal.

Interval and limits

PlanMonitorsMinimum interval
Solo15 minutes
Pro52 minutes
Team5060 seconds
Business50015 seconds

From failure to incident

A single failure does not open an incident. Networks hiccup, and an alert per hiccup trains everyone to ignore alerts. An incident opens when failures pass the threshold you set, and closes by itself when checks pass again. The recorded duration starts at the first failure, not at the moment the incident opened.

The alert says what depends on the database: which reports read from it and how many recipients are waiting for the result. Those reports’ schedules can be held until the database is back.