PostgresAI vs pgwatch
checkups and Issues vs a metrics collector
pgwatch is an open-source PostgreSQL metrics collector, and you pick the storage and dashboards. PostgresAI adds checkups, Issues with a fix and an MCP server for agents.
Where PostgresAI is ahead of pgwatch
Each point pairs what our documentation says with what the pgwatch documentation says. Follow the links and check.
Wait events with no extra extension
PostgresAIAn ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. docs
An AI agent can work through the findings
PostgresAIThe postgresai CLI and an MCP server give an agent the Issues, action items and checkup reports. The setup guide covers Cursor, Claude Code, Windsurf and Codex. docsdocs 2
pgwatchpgwatch has a REST API, with JWT authentication, for managing sources, metrics and presets. The sources we reviewed do not describe an MCP server or an interface that gives an AI agent findings to work through. 5
Test the fix on a full-size copy first
Short answer
pgwatch, maintained by CYBERTEC, is an open-source metrics collector for PostgreSQL: you choose the metrics, the storage sink and the Grafana dashboards, and run the stack yourself. PostgresAI monitoring comes assembled, hosted or self-hosted, and adds scheduled checkups, Issues, agent access and expert help. Pick pgwatch if you want to assemble and tune your own stack. Pick PostgresAI if you want monitoring packaged with checkups and people to act on the findings.
When pgwatch is the better choice
- Open source under the BSD 3-Clause license and free to run; CYBERTEC provides commercial 9-to-5 and 24/7 support for it.
- Four sink types: PostgreSQL (including TimescaleDB), Prometheus, JSON file and a custom gRPC backend, so metrics can go into storage you already run.
- Also monitors the tools around PostgreSQL: Patroni cluster members, PgBouncer and Pgpool poolers, and pgBackRest and WAL-G backups.
- Metrics are SQL definitions grouped into presets, including presets for Amazon RDS, Aurora, Azure, Google Cloud SQL and Aiven; you can add your own metrics.
- A REST API and web UI to manage sources, metrics and presets, and 15 dashboards in the gallery, including Health Check and Recommendations.

What you get
Checkup findings as Issues in the PostgresAI Console. How it works
PostgresAI and pgwatch, side by side
| Question | PostgresAI | pgwatch |
|---|---|---|
| What it is | PostgreSQL monitoring with scheduled health checkups. Findings become Issues with severity, evidence and a recommended fix, which you, your AI agent or a PostgresAI expert can act on. docsdocs 2 | A PostgreSQL metrics collector, the pgwatch daemon written in Go. It reads sources and metric definitions from a configuration database or YAML files, writes measurements to one or more sinks, and ships Grafana dashboards to view them. 194 |
| Where your Postgres can run, and which versions | YesAmazon RDS and Aurora, Google Cloud SQL, Azure Database for PostgreSQL, Supabase, Tiger Data, self-managed servers and Postgres running on Kubernetes. PostgreSQL 14 and newer, with the pg_stat_statements extension. docs | YesSelf-managed servers and managed services: presets for Amazon RDS and Aurora (rds), Azure Database for PostgreSQL (azure) and Google Cloud SQL (gce), and a documented setup for Aiven. On Aurora some metrics are missing compared with RDS, and OS helper metrics in PL/Python do not run on managed platforms. The installation guide lists PostgreSQL 14 or newer as a requirement. 39 |
| Where it runs and what it collects | YesHosted by PostgresAI, or self-hosted in your own cloud account or on your own server. It collects database metadata such as statistics, normalized query texts and wait events, not table data or query parameters. docsdocs 2 | YesSelf-hosted: a Debian/Ubuntu package, RPM packages, Docker images or a build from source. You run the collector, the configuration store, the sink and Grafana. Metric SQL decides what is collected; the stat_statements metric stores normalized query texts from pg_stat_statements. 9211 |
| Open source | YesThe monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. docsdocs 2 | YesOpen source under the BSD 3-Clause license, copyright CYBERTEC PostgreSQL International GmbH. Version 6.2.0 was released in November 2026. 813 |
| Query performance analysis | YesTop queries from pg_stat_statements by calls, execution time, planning time and rows, with a drill-down dashboard for a single query. For execution plans, Joe runs EXPLAIN on a DBLab clone. docsdocs 2 | YesA stat_statements metric from pg_stat_statements, every 180 seconds in the standard preset. The docs say pg_stat_statements powers the Stat statements Top dashboard and many panels across other dashboards; the gallery shows a Query Performance Analysis dashboard. 101112 |
| Wait event analysis | YesAn ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. docs | PartlyA wait_events metric counts active sessions in pg_stat_activity by wait event type and wait event. Among the shipped presets only debug includes it, so you add it to the preset you use. 114 |
| Health checks and recommendations | YesScheduled checkup reports on settings, autovacuum and bloat, and indexes (invalid, unused, redundant). Each finding becomes an Issue with severity, evidence and a specific fix. docsdocs 2 | YesHealth Check and Recommendations dashboards. Recommendation metrics cover indexes to add or drop, partial index candidates, disabled triggers, nested views, the public schema, functions without search_path and superusers; other metrics cover invalid and unused indexes and approximate table bloat. 1211 |
| AI and agent access | YesThe postgresai CLI (alias pgai) and an MCP server with tools for Issues, action items and checkup reports. The setup guide covers Cursor, Claude Code, Windsurf and Codex. docsdocs 2 | Not documentedA REST API manages sources, metrics and presets, with JWT authentication. The sources we reviewed do not describe an MCP server or an interface for AI agents. 5 |
| Testing a fix before production | YesWith DBLab Engine, a separate open-source product: a full-size thin clone of the database in seconds, where an index or query change can be run on real data. DBLab is set up and priced separately. docsdocs 2 | Not documentedNot documented in the sources we reviewed. 1 |
| Human PostgreSQL experts | YesScale includes two expert requests a month, answered within 24 business hours. Either plan can buy a one-off pack of two requests for $500. Consulting is separate. docsdocs 2 | PartlyThe docs state that Cybertec provides commercial 9-to-5 and 24/7 support for pgwatch. The project's own sources we reviewed do not describe PostgreSQL consulting. 1 |
| Alerts | Email and Slack alerts on Starter and Scale. docs | Alerting is done in Grafana: the guide wires Grafana's built-in alerting to the metrics pgwatch stores, with contact points such as Slack, PagerDuty, email and webhooks. 6 |
| History kept | 14 days on Starter, 13 months on Scale, custom on Enterprise. docs | The --retention option deletes metrics older than a PostgreSQL interval, 14 days by default. Maintenance tasks such as deleting old metrics run on the sinks every 12 hours by default. 7 |
| Security attestations | SOC 2 Type 2 examination completed for the Security and Availability criteria, covering March 4 to June 4, 2026. The SOC 3 report is public. docs | pgwatch is software you run yourself. The sources we reviewed do not describe security attestations. 1 |
Pricing
| Product | Plan | List price | Notes |
|---|---|---|---|
| PostgresAI | Starter | $16 per cluster/month | Primary only, 14-day retention, no expert requests included |
| PostgresAI | Scale | $512 per cluster/month | Primary and up to 5 replicas in one cluster, 13-month retention, Grafana dashboards, 2 expert requests a month |
| PostgresAI | Enterprise | Custom | Contact sales |
| PostgresAI | Self-hosted | No licence fee | Open source under Apache 2.0; you run it yourself |
| pgwatch | Open source | Free | BSD 3-Clause license; you run the collector, storage and Grafana 8 |
| pgwatch | CYBERTEC support | No public price | Commercial 9-to-5 and 24/7 support for pgwatch 1 |
List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. PostgresAI pricing
Using PostgresAI with pgwatch
Versions of PostgresAI monitoring released up to November 2026 include pgwatch as the collector. DBLab, a separate product, copies any PostgreSQL source, so a team that runs its own pgwatch stack can still use a DBLab clone to test an index or query change on full-size data.
Questions
- Does PostgresAI use pgwatch?
- Versions of PostgresAI monitoring released up to November 2026 use pgwatch as the metrics collector. PostgresAI adds scheduled checkups, Issues, an MCP server and expert requests on the Scale plan.
- Is pgwatch open source?
- Yes. pgwatch is open source under the BSD 3-Clause license and is maintained by CYBERTEC, which also sells commercial 9-to-5 and 24/7 support for it. 81
- Does pgwatch work with Amazon RDS?
- Yes. pgwatch ships an rds preset used for Amazon RDS and Aurora, plus presets for Azure Database for PostgreSQL and Google Cloud SQL. On Aurora some metrics are missing compared with RDS, and PL/Python helper metrics do not run on managed platforms. 3
- Where does pgwatch store metrics?
- In the sinks you configure: PostgreSQL (including TimescaleDB), Prometheus, a JSON file or a custom gRPC backend. More than one sink can be used at once. The --retention option deletes metrics older than 14 days by default. 1417
- Can I use PostgresAI and pgwatch together?
- Versions of PostgresAI monitoring released up to November 2026 include pgwatch as the collector. A team running its own pgwatch stack can also use DBLab, which copies any PostgreSQL source, to test a fix on a full-size clone.
Check it on your own database
The express checkup works with PostgreSQL 14 or newer. With --no-upload it needs no account and sends no report data to PostgresAI. It needs Node.js 18 or newer and a database role with pg_monitor. Compare what it finds with what your current tool shows for the same database.
Sources
- pgwatch documentation: introduction
- pgwatch repository
- pgwatch documentation: managed PostgreSQL support
- pgwatch documentation: metrics and presets
- pgwatch documentation: REST API
- pgwatch documentation: set up alerting
- pgwatch documentation: command-line options
- pgwatch license
- pgwatch documentation: custom installation
- pgwatch documentation: preparing databases
- pgwatch built-in metric and preset definitions
- pgwatch dashboard gallery
- pgwatch releases
- pgwatch documentation: sinks
These pages compare what each product does for PostgreSQL; other databases and the rest of the stack are out of scope. What we say about the other product comes from its own documentation, pricing page, changelog or source repository, read on the date shown; each row cites its source. "Not documented" means we did not find it in those sources, not that the product cannot do it. Prices are list prices and the billing units differ, so they are not a total-cost comparison. Product names are trademarks of their owners. Found a mistake? Tell us and we will correct the page.
More comparisons
- Percona PMMwait events and clone tests vs QAN and Advisors
- pgBadgercontinuous monitoring vs log file reports
- PgHerohistory and wait events vs a performance dashboard
- pgMonitorfindings with fixes vs a Prometheus bundle
- postgres_exporter and GrafanaIssues vs your own rules
- PoWAmanaged Postgres too vs extensions on each server
- temBoardmanaged Postgres too vs an agent on each host
- Amazon DevOps Guru for RDSany cloud vs ML on RDS (closing)
- All comparisons