# PostgresAI vs Percona PMM: wait events and clone tests vs QAN and Advisors

> Percona PMM is open-source, self-hosted monitoring with Query Analytics and Advisors. PostgresAI adds a wait event dashboard and fixes you can test on a DBLab clone.

Checked on 2026-11-18. Page: https://postgres.ai/compare/postgresai-vs-percona-pmm. All comparisons: https://postgres.ai/compare.

## Short answer

Percona Monitoring and Management (PMM) is a self-hosted, open-source monitoring platform; for PostgreSQL it has Query Analytics from pg_stat_statements or pg_stat_monitor, Advisors and alert templates. Every feature is free, and Percona sells support and services. PostgresAI runs scheduled checkups and turns findings into Issues for you, your AI agent or a PostgresAI expert. Pick PMM if you want free Query Analytics and Advisors or Percona as your support vendor. Pick PostgresAI for PostgreSQL wait event analysis, Issues with agent access, or DBLab clones to test a fix.

## Where PostgresAI is ahead of Percona PMM

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. ([Wait event analysis dashboard](https://postgres.ai/docs/monitoring/dashboards/wait-events))
   - Percona PMM: PMM's PostgreSQL Top Queries dashboard ranks queries by time spent waiting on disk reads and writes, which requires track_io_timing. The sources we reviewed do not describe a wait event dashboard for PostgreSQL. [10][11]
2. **Metadata only, and it can stay with you.**
   - PostgresAI: It collects database metadata such as statistics, normalized query texts and wait events, not table data or query parameters. A self-hosted install keeps the metrics on your own infrastructure. ([Monitoring quick start](https://postgres.ai/docs/monitoring/getting-started), [Data privacy: metadata only](https://postgres.ai/docs/monitoring#data-privacy-metadata-only))
   - Percona PMM: PMM is self-hosted. With pg_stat_monitor it collects query examples, which store actual query values, by default; they can be turned off per service. With pg_stat_statements, query examples are not collected. [5][2]
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. ([DBLab Engine](https://postgres.ai/docs/database-lab), [DBLab compared with other ways to branch](https://postgres.ai/compare#branching))
   - Percona PMM: PMM Query Analytics shows query metrics, and with pg_stat_monitor a Plan tab. The sources we reviewed do not describe running an index or query change on a separate copy of the data. [4][9]

## Check it on your own database

```
npx postgresai@latest checkup postgresql://user@host:5432/db --no-upload
```

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.

- [Live demo (login demo, password demo)](https://demo.postgres.ai)
- [Checkup command reference](https://postgres.ai/docs/reference-guides/postgresai-cli-reference#command-checkup)

## Side by side

| | PostgresAI | Percona PMM |
|---|---|---|
| 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. | An open-source database observability, monitoring and management platform. PMM Server (Grafana, VictoriaMetrics, ClickHouse and PostgreSQL) stores metrics and query data; PMM Client (pmm-agent plus exporters) runs next to each database. For PostgreSQL it adds Query Analytics, Advisors and alert templates. [2][3] |
| Where your Postgres can run, and which versions | Any provider: yes. Amazon 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. | Any provider: yes. Self-managed servers, Amazon RDS (the PostgreSQL guide names RDS and Aurora PostgreSQL), Google Cloud SQL, and Azure Database for PostgreSQL, which is in technical preview. Managed instances are monitored remotely without installing anything on the database host. The PostgreSQL guide says pg_stat_monitor is compatible with PostgreSQL 13 through 18. [6][5][7][8][3] |
| Where it runs and what it collects | Self-hosted option: yes. Hosted 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. | Self-hosted option: yes. Self-hosted. PMM Server runs with Docker, Podman, Helm on Kubernetes, or as a virtual machine, including from AWS Marketplace. PMM Client runs next to each database, or PMM connects remotely to managed instances. [3][2][6] |
| Open source | Yes. The monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. | Yes. PMM Server is licensed under GNU AGPLv3 and PMM Client under Apache 2.0. The README states that every feature is open source and that there is no paid edition. [2] |
| Query performance analysis | Query analysis: yes. Top 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. | Query analysis: yes. Query Analytics collects metrics once a minute from pg_stat_statements or pg_stat_monitor. With pg_stat_monitor it shows a Plan tab; the Explain tab is not supported for PostgreSQL. A PostgreSQL Top Queries dashboard ranks queries by time, calls, rows, I/O wait, CPU and memory. [4][9][5][10] |
| Wait event analysis | Wait events: yes. An ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. | Wait events: not documented. The PostgreSQL Top Queries dashboard has a Top 10 Queries by I/O Wait panel, which requires track_io_timing. The sources we reviewed do not describe a wait event dashboard for PostgreSQL. [10][11] |
| Health checks and recommendations | Health checks: yes. Scheduled checkup reports on settings, autovacuum and bloat, and indexes (invalid, unused, redundant). Each finding becomes an Issue with severity, evidence and a specific fix. | Health checks: yes. Advisors run checks every 24 hours by default (4 or 78 hours are options). PostgreSQL checks cover end-of-life versions, fsync, max_connections, autovacuum settings, transaction ID wraparound, table bloat, stale replication slots, unused indexes, excessive sequential scans and CVEs. [12][16] |
| AI and agent access | Agent access: yes. The 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. | Not documented in the sources we reviewed. [1][2] |
| Testing a fix before production | Test on a copy: yes. With 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. | Not documented in the sources we reviewed. [1][2] |
| Human PostgreSQL experts | Human experts: yes. Scale 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. | Human experts: yes. Percona sells PostgreSQL support with 24x7 teams and fifteen-minute response times for mission-critical environments, Expert Consulting for performance, architecture and migration projects, and ExpertOps managed operations. The PMM README points to Percona Support for production. [13][2] |
| Alerts | Email and Slack alerts on Starter and Scale. | Percona Alerting is built on Grafana alerting, with Percona-supplied alert templates and Grafana-managed rules. Notifications go to contact points you configure. [14] |
| History kept | 14 days on Starter, 13 months on Scale, custom on Enterprise. | Time-series data is stored for 30 days by default; the data retention setting can be changed in Advanced Settings. [15] |
| 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. | PMM is software you run yourself. The sources we reviewed do not describe security attestations for it. [2] |

## When Percona PMM is the better choice

- Monitors Amazon RDS and Aurora, Google Cloud SQL and Azure (technical preview) remotely, with nothing installed on the database host; RDS instances are discovered through the AWS API.
- Every feature is open source and there is no paid edition: PMM Server is AGPLv3 and PMM Client is Apache 2.0.
- Query Analytics works with pg_stat_statements or pg_stat_monitor; with pg_stat_monitor it adds query examples, histograms and a Plan tab.
- Advisors run security, configuration, performance and query checks every 24 hours by default, including PostgreSQL wraparound, bloat, unused indexes and CVEs.
- Percona offers 24x7 PostgreSQL support, project consulting and ExpertOps managed operations from the same vendor.

## 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 |
| Percona PMM | Open source | Free | PMM Server AGPLv3, PMM Client Apache 2.0; every feature included, no paid edition [2] |
| Percona PMM | Percona support and services | No public price | 24x7 support, Expert Consulting and ExpertOps; contact Percona [13] |

PostgresAI prices: https://postgres.ai/pricing.

## Using both

DBLab is a separate product that copies any PostgreSQL source, so a team that monitors with PMM can still use a DBLab clone to try an index or query change on full-size data before production.

## Questions

### Is Percona PMM free?

Yes. PMM is open source, with PMM Server under AGPLv3 and PMM Client under Apache 2.0. The README says every feature is in the open-source release and Percona sells support, not features. [2]

### Does Percona PMM work with Amazon RDS?

Yes. PMM discovers RDS instances through the AWS API and monitors them remotely, with nothing installed on the database host. Query Analytics needs pg_stat_statements, and Enhanced Monitoring should be enabled. Google Cloud SQL and Azure (technical preview) have their own guides. [6][7][8]

### Does Percona PMM show EXPLAIN plans for PostgreSQL?

The Query Analytics Explain tab is not supported for PostgreSQL. With pg_stat_monitor, a Plan tab shows the plan for PostgreSQL queries; the PostgreSQL guide warns that enabling query plans in pg_stat_monitor can make timings incorrect and advises keeping it off. [9][5]

### Can I use PostgresAI and Percona PMM together?

Yes. DBLab, the PostgresAI cloning product, copies any PostgreSQL source, so a team that monitors with PMM can test an index or query change on a full-size DBLab clone before production.

## Sources for PostgresAI

- [Wait event analysis dashboard](https://postgres.ai/docs/monitoring/dashboards/wait-events)
- [Monitoring quick start](https://postgres.ai/docs/monitoring/getting-started)
- [Data privacy: metadata only](https://postgres.ai/docs/monitoring#data-privacy-metadata-only)
- [DBLab Engine](https://postgres.ai/docs/database-lab)
- [DBLab compared with other ways to branch](https://postgres.ai/compare#branching)
- [PostgresAI monitoring overview](https://postgres.ai/docs/monitoring)
- [What are Issues?](https://postgres.ai/docs/questions-and-answers)
- [postgresai repository](https://gitlab.com/postgres-ai/postgresai)
- [Query performance analysis dashboard](https://postgres.ai/docs/monitoring/dashboards/query-analysis)
- [Joe bot](https://postgres.ai/docs/joe-bot)
- [Checkup reports](https://postgres.ai/docs/checkup)
- [How to work with Issues](https://postgres.ai/docs/postgresai-howtos/how-to-work-with-issues)
- [How to install MCP for AI coding tools](https://postgres.ai/docs/postgresai-howtos/how-to-install-mcp)
- [PostgresAI CLI reference](https://postgres.ai/docs/reference-guides/postgresai-cli-reference)
- [Pricing](https://postgres.ai/pricing)
- [Postgres consulting](https://postgres.ai/consulting)
- [Security and compliance](https://postgres.ai/security)

## Sources for Percona PMM

1. [PMM 3 documentation: home](https://docs.percona.com/percona-monitoring-and-management/3/)
2. [PMM repository README](https://github.com/percona/pmm)
3. [PMM documentation: architecture](https://docs.percona.com/percona-monitoring-and-management/3/reference/index.html)
4. [PMM documentation: Query Analytics](https://docs.percona.com/percona-monitoring-and-management/3/use/qan/index.html)
5. [PMM documentation: connect PostgreSQL](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/connect-database/postgresql.html)
6. [PMM documentation: connect Amazon RDS](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/connect-database/aws.html)
7. [PMM documentation: connect Google Cloud](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/connect-database/google.html)
8. [PMM documentation: connect Microsoft Azure](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/connect-database/azure.html)
9. [PMM documentation: Query Analytics details panel](https://docs.percona.com/percona-monitoring-and-management/3/use/qan/panels/details.html)
10. [PMM documentation: PostgreSQL Top Queries dashboard](https://docs.percona.com/percona-monitoring-and-management/3/reference/dashboards/dashboard-postgresql-topqueries.html)
11. [PMM documentation: dashboards overview](https://docs.percona.com/percona-monitoring-and-management/3/use/dashboards-panels/index.html)
12. [PMM documentation: Percona Advisors](https://docs.percona.com/percona-monitoring-and-management/3/advisors/advisors.html)
13. [Percona PostgreSQL support](https://www.percona.com/postgresql/support/)
14. [PMM documentation: Percona Alerting](https://docs.percona.com/percona-monitoring-and-management/3/alert/index.html)
15. [PMM documentation: advanced settings](https://docs.percona.com/percona-monitoring-and-management/3/configure-pmm/advanced_settings.html)
16. [PMM documentation: Advisor checks](https://docs.percona.com/percona-monitoring-and-management/3/advisors/advisor-details.html)

## How we compare

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.
