# PostgresAI vs Netdata: wait events and experts vs per-second metrics

> Netdata collects per-second PostgreSQL metrics with built-in alerts and ML anomaly scores. PostgresAI adds a wait event dashboard, Issues with a fix and experts on Scale.

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

## Short answer

Netdata is a monitoring tool with a PostgreSQL collector: the open-source Agent collects Postgres metrics every second, ships 14 built-in PostgreSQL alerts and scores every metric for anomalies with ML. Per-query data comes from Top Queries and Running Queries functions that need Netdata Cloud. PostgresAI monitors only PostgreSQL, runs scheduled checkups and turns findings into Issues that you, your AI agent or a PostgresAI expert can act on. Pick Netdata for per-second Postgres metrics and anomaly detection on a free tier. Pick PostgresAI for per-query dashboards, a sampled history of wait events, checkups and human experts. The two can run side by side.

## Where PostgresAI is ahead of Netdata

1. **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))
   - Netdata: Netdata keeps metrics and logs on your nodes and sends hostnames, metric names and alerts to Netdata Cloud. Its docs note that Top Queries text may contain unmasked literal values, and Running Queries shows the SQL being executed. [7][2]
2. **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))
   - Netdata: Netdata's Running Queries function, which requires Netdata Cloud, shows live snapshots of active sessions from pg_stat_activity with their wait events. The collector charts connections and locks. The sources we reviewed do not describe a history of sampled wait events. [2]
3. **PostgreSQL experts on the plan.**
   - PostgresAI: 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. ([Pricing](https://postgres.ai/pricing), [Postgres consulting](https://postgres.ai/consulting))
   - Netdata: Netdata Business includes email and ticket support in business hours with an SLA, and Enterprise offers 24/7 support with a dedicated team. The sources we reviewed do not describe PostgreSQL expert help. [3]

## 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 | Netdata |
|---|---|---|
| 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. | A monitoring tool with a PostgreSQL collector. The open-source Agent collects metrics every second on each node, keeps them locally, scores them for anomalies and evaluates alerts; Netdata Cloud adds a central view. [1][2][4] |
| 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: partly. The PostgreSQL collector connects by DSN to local or remote servers and documents Azure Database for PostgreSQL examples with Azure AD authentication. A separate Amazon RDS collector reads metrics from rds_exporter every 10 seconds; its page does not name PostgreSQL. The sources we reviewed do not mention Amazon RDS for PostgreSQL, Aurora or Google Cloud SQL by name. [2][9] |
| 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. The Agent runs on your own servers and keeps metrics and logs there; Netdata Cloud receives metadata such as hostnames, metric names and alerts. Netdata Cloud On-Prem, on Kubernetes, puts the control plane in your environment and comes with the Enterprise plan. [7][8][3] |
| Open source | Yes. The monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. | Partly. The Agent is open source under GPL v3 or later. The dashboard UI is closed source and free to use with the Agent and Cloud under the NCUL1 license. Netdata Cloud has paid plans above the free Community plan. [1][3] |
| 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: partly. A Top Queries function reads pg_stat_monitor or pg_stat_statements and shows calls, total and mean time, rows and block and temp I/O per query; Running Queries lists current queries from pg_stat_activity. Both require Netdata Cloud. The sources we reviewed do not describe per-query metric charts in the collector. [2] |
| 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: partly. Running Queries, which requires Netdata Cloud, lists current sessions from pg_stat_activity with each one's wait event and wait event type. The collector charts connections and locks. The sources we reviewed do not describe a history of sampled wait events. [2] |
| 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: partly. 14 built-in PostgreSQL alerts cover connection and lock utilization, transaction ID exhaustion, cache hit ratios, rollback ratio, deadlocks, table and index bloat and time since last autovacuum and autoanalyze. The sources we reviewed do not describe recommendations or reports. [2] |
| 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. | Agent access: yes. Every Agent and Parent from v2.6.0 has a built-in MCP server, and Netdata Cloud has one MCP endpoint for all nodes on paid plans. It covers metric, alert and function discovery, metric queries and alert history; setup guides cover Claude Code, Cursor, Codex CLI, Gemini CLI and VS Code. [5][3] |
| 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. The PostgreSQL collector reads statistics; the sources do not describe trying a change on a copy of the data. [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: partly. Business includes email and ticket support in business hours with an SLA; Enterprise offers 24/7 support with a dedicated team and priority support plans. The sources we reviewed do not describe PostgreSQL consulting. [3] |
| Alerts | Email and Slack alerts on Starter and Scale. | Alerts are evaluated on each Agent, with a central alert view in Netdata Cloud. On the free Community plan, notifications go to Discord, email and the mobile app. [3][2] |
| History kept | 14 days on Starter, 13 months on Scale, custom on Enterprise. | On the Agent, in three tiers by default: per-second for 14 days, per-minute for 3 months and per-hour for 2 years, each capped at 1 GiB, whichever limit comes first. Limits are configurable, and Netdata charges no retention fee. [6][3] |
| 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. | Netdata states SOC 2 Type 2 compliance for the Security, Availability and Confidentiality criteria, and that it is not PCI DSS or HIPAA certified. [7] |

## When Netdata is the better choice

- The PostgreSQL collector gathers server, database, table and index metrics every second by default, including replication lag, WAL archiving, checkpoints, locks, bloat and unused indexes.
- ML anomaly detection runs on each Agent with 18 models per metric, Postgres metrics included; Netdata documents a cost of 2-4% of one CPU for 10,000 metrics.
- The collector needs a user with the pg_monitor role and ships 14 alerts, including transaction ID exhaustion, table and index bloat and time since last autovacuum.
- Top Queries prefers pg_stat_monitor when installed, adding application name, client IP, CPU time and errors per query to the pg_stat_statements columns.
- The Agent is open source under GPL v3+ with a built-in MCP server from v2.6.0; a free Community plan covers up to 5 nodes, and Business is from $7 per node a month on annual billing.

## 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 |
| Netdata | Agent | Free | Open source, GPL v3+; dashboard UI closed source, free to use [1] |
| Netdata | Community | $0 | Netdata Cloud for up to 5 connected nodes, 1 custom dashboard per room; no MCP server, AI Investigations or on-premise [3] |
| Netdata | Business | From $7 per node/month | Infrastructure, billed annually, or $8.75 with monthly billing; unlimited nodes, retention and custom dashboards, AI conversations (fair use), RBAC, SSO, SCIM, Netdata Cloud MCP server, business-hours support with SLA; 14-day trial [3] |
| Netdata | Enterprise | Custom | Everything in Business, on-premise deployment at any size, custom pricing above 500 nodes, priority support plans [3] |

PostgresAI prices: https://postgres.ai/pricing. Optional products, including AI Investigations, are billed separately. Metrics stay on your infrastructure, so storage costs for longer retention are yours.

## Using both

Netdata collects per-second PostgreSQL metrics and scores them for anomalies; PostgresAI monitoring adds per-query dashboards, a sampled history of wait events, checkups and Issues. They collect separately, so a team can run both.

## Questions

### Is Netdata open source?

The Netdata Agent is open source under GPL v3 or later. The dashboard UI is closed source but free to use with the Agent and Cloud. Netdata Cloud has a free Community plan and paid plans. [1][3]

### Does Netdata analyze PostgreSQL queries?

Partly. Its PostgreSQL collector charts server, database, table and index metrics every second and ships 14 alerts. A Top Queries function reads pg_stat_statements or pg_stat_monitor, and a Running Queries function reads pg_stat_activity; both require Netdata Cloud. [2]

### What does Netdata cost?

The Agent is free. Netdata Cloud Community is $0 for up to 5 nodes. Business starts at $7 per node a month with annual billing, or $8.75 with monthly billing. Enterprise, including on-premise deployment, has custom pricing. [3]

### Can I use PostgresAI and Netdata together?

Yes. Netdata collects per-second PostgreSQL metrics and alerts, and PostgresAI monitoring adds per-query dashboards, a sampled history of wait events, checkups and Issues. They collect separately. [2]

## Sources for PostgresAI

- [Monitoring quick start](https://postgres.ai/docs/monitoring/getting-started)
- [Data privacy: metadata only](https://postgres.ai/docs/monitoring#data-privacy-metadata-only)
- [Wait event analysis dashboard](https://postgres.ai/docs/monitoring/dashboards/wait-events)
- [Pricing](https://postgres.ai/pricing)
- [Postgres consulting](https://postgres.ai/consulting)
- [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)
- [DBLab Engine](https://postgres.ai/docs/database-lab)
- [DBLab compared with other ways to branch](https://postgres.ai/compare#branching)
- [Security and compliance](https://postgres.ai/security)

## Sources for Netdata

1. [Netdata repository](https://github.com/netdata/netdata)
2. [Netdata documentation: PostgreSQL collector](https://learn.netdata.cloud/docs/collecting-metrics/collectors/databases/postgresql)
3. [Netdata pricing](https://www.netdata.cloud/pricing/)
4. [Netdata documentation: anomaly detection](https://learn.netdata.cloud/docs/netdata-ai/anomaly-detection)
5. [Netdata documentation: MCP](https://learn.netdata.cloud/docs/netdata-ai/mcp)
6. [Netdata documentation: disk and retention](https://learn.netdata.cloud/docs/netdata-agent/resource-utilization/disk-&-retention)
7. [Netdata documentation: security and privacy design](https://learn.netdata.cloud/docs/security-and-privacy-design)
8. [Netdata documentation: Netdata Cloud On-Prem](https://learn.netdata.cloud/docs/netdata-cloud-on-prem)
9. [Netdata documentation: Amazon RDS collector](https://learn.netdata.cloud/docs/collecting-metrics/collectors/databases/aws-rds)

## 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.
