Skip to main content

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.

See plans and pricingOpen the live demoTalk to us

Checked on against 14 pages of pgwatch documentation. PostgreSQL only. Markdown

Disclosure: PostgresAI monitoring was built on pgwatch: versions released up to November 2026 use it as the metrics collector.

Where PostgresAI is ahead of pgwatch​

Each point pairs what our documentation says with what the pgwatch documentation says. Follow the links and check.

  1. Wait events with no extra extension

    PostgresAI

    An ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. docs

    pgwatch

    pgwatch has a wait_events metric that counts active sessions in pg_stat_activity by wait event type and wait event. Among the shipped presets only debug includes it, at a 30-second interval; with other presets you add it yourself. 114

  2. An AI agent can work through the findings

    PostgresAI

    The 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

    pgwatch

    pgwatch 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

  3. Test the fix on a full-size copy first

    PostgresAI

    With DBLab Engine, a separate open-source product, an index or query change runs on a full-size thin clone of the database, created in seconds, before it reaches production. docsdocs 2

    pgwatch

    pgwatch collects and stores metrics from the databases it monitors. The sources we reviewed do not describe running an index or query change on a separate copy of the data. 19

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.
The Issues list in the PostgresAI Console: unused indexes consuming 19.2 GiB, redundant indexes that can be deleted to save 3.76 GiB, an invalid index and estimated index bloat, each opened by a checkup.

What you get​

Checkup findings as Issues in the PostgresAI Console. How it works

See plans and pricingOpen the live demoTalk to us

PostgresAI and pgwatch, side by side​

QuestionPostgresAIpgwatch
What it isPostgreSQL 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 2A 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 versionsYesAmazon 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. docsYesSelf-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 collectsYesHosted 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 2YesSelf-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 sourceYesThe monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. docsdocs 2YesOpen source under the BSD 3-Clause license, copyright CYBERTEC PostgreSQL International GmbH. Version 6.2.0 was released in November 2026. 813
Query performance analysisYesTop 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 2YesA 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 analysisYesAn ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. docsPartlyA 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 recommendationsYesScheduled 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 2YesHealth 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 accessYesThe 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 2Not 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 productionYesWith 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 2Not documentedNot documented in the sources we reviewed. 1
Human PostgreSQL expertsYesScale 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 2PartlyThe 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
AlertsEmail and Slack alerts on Starter and Scale. docsAlerting 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 kept14 days on Starter, 13 months on Scale, custom on Enterprise. docsThe --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 attestationsSOC 2 Type 2 examination completed for the Security and Availability criteria, covering March 4 to June 4, 2026. The SOC 3 report is public. docspgwatch is software you run yourself. The sources we reviewed do not describe security attestations. 1

Pricing​

ProductPlanList priceNotes
PostgresAIStarter$16 per cluster/monthPrimary only, 14-day retention, no expert requests included
PostgresAIScale$512 per cluster/monthPrimary and up to 5 replicas in one cluster, 13-month retention, Grafana dashboards, 2 expert requests a month
PostgresAIEnterpriseCustomContact sales
PostgresAISelf-hostedNo licence feeOpen source under Apache 2.0; you run it yourself
pgwatchOpen sourceFreeBSD 3-Clause license; you run the collector, storage and Grafana 8
pgwatchCYBERTEC supportNo public priceCommercial 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.

See plans and pricingOpen the live demoTalk to us

Sources​

  1. pgwatch documentation: introduction
  2. pgwatch repository
  3. pgwatch documentation: managed PostgreSQL support
  4. pgwatch documentation: metrics and presets
  5. pgwatch documentation: REST API
  6. pgwatch documentation: set up alerting
  7. pgwatch documentation: command-line options
  8. pgwatch license
  9. pgwatch documentation: custom installation
  10. pgwatch documentation: preparing databases
  11. pgwatch built-in metric and preset definitions
  12. pgwatch dashboard gallery
  13. pgwatch releases
  14. 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.