PostgresAI vs New Relic
open source with experts vs queries tied to traces
New Relic collects Postgres slow queries, wait events and plans and links them to app traces. PostgresAI is open source and gives AI agents its Issues over MCP.
Where PostgresAI is ahead of New Relic
Each point pairs what our documentation says with what the New Relic documentation says. Follow the links and check.
An AI agent can work through the findings
Open source, no licence fee to self-host
PostgreSQL experts on the plan
PostgresAIScale includes two expert requests a month, answered within 24 business hours. Either plan can buy a one-off pack of two requests for $500. docsdocs 2
New RelicNew Relic editions include product support, from a 2-business-day response SLA on Standard to a 1-hour critical response SLA on Enterprise. The sources we reviewed do not describe PostgreSQL expert help. 7
Short answer
New Relic is an observability platform. Its PostgreSQL integration with query performance monitoring, generally available since July 2025, collects slow queries, wait events, blocking sessions and execution plan metrics, and Database 360 correlates database behavior with app traces. PostgresAI monitors PostgreSQL only, runs scheduled checkups and turns findings into Issues that you, your AI agent or a PostgresAI expert can act on. Pick New Relic if you already use it and want Postgres queries linked to the traces that ran them. Pick PostgresAI for open-source monitoring you can self-host, Postgres health checks with expert help, or DBLab clones to test a fix.
When New Relic is the better choice
- Database 360 correlates Postgres behavior with the app traces and infrastructure entities around it, and analyzes slow queries with plans, waits and locks.
- A perpetual free tier with 100 GB of data ingest a month and one full platform user, so a small setup can start at $0.
- Query performance monitoring records execution plan nodes per query, with node type, index used, estimated costs and rows removed by filter, plus per-query CPU and execution time.
- Postgres query monitoring includes blocking sessions and wait events per query, with query text normalized and anonymized before it is sent.
- The PostgreSQL integration, nri-postgresql, is open source under the MIT license, and an OpenTelemetry-based PostgreSQL integration was added as a public preview in August 2026.

What you get
Checkup findings as Issues in the PostgresAI Console. How it works
PostgresAI and New Relic, side by side
| Question | PostgresAI | New Relic |
|---|---|---|
| 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 | An observability platform. For PostgreSQL, an on-host integration collects metrics and, with query performance monitoring turned on, slow queries, wait events, blocking sessions and execution plans. Database 360 correlates database behavior with app traces and infrastructure. 236 |
| 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 | YesThe infrastructure agent and integration run on a host with network access to the database. The guide covers SSL settings for Amazon RDS and Aurora and Azure Database for PostgreSQL Flexible Server. The OpenTelemetry integration, added as a public preview in August 2026, documents hosted and Amazon RDS setups. 253 |
| 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 | Not documentedThe New Relic infrastructure agent runs on a host you choose and sends data to New Relic; storage in the EU data center costs an extra $0.05/GB a month. Query text is normalized and anonymized. The sources we reviewed do not describe a self-hosted New Relic backend. 27 |
| Open source | YesThe monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. docsdocs 2 | PartlyThe PostgreSQL integration, nri-postgresql, is open source under the MIT license. New Relic itself is a paid service with a free tier. 137 |
| 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 | YesSlow queries, individual queries and execution plan metrics from pg_stat_statements. Queries slower than a threshold, 1 ms by default, are sent, with 20 records per metric by default. A dashboard has query analysis, query details and wait time analysis tabs. 213 |
| Wait event analysis | YesAn ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. docs | YesQuery performance monitoring collects PostgreSQL wait events and blocking sessions, shown in a wait time analysis tab and a blocking details widget. The OpenTelemetry integration, added as a public preview in August 2026, also samples wait events and blocking PIDs; this is off by default. 2145 |
| 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 | Not documentedNot documented in the sources we reviewed. The query performance monitoring page mentions recommendations for query optimization; the sources we reviewed do not describe scheduled health checks for PostgreSQL. 126 |
| 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 | YesNew Relic Ground Truth, a New Relic-hosted MCP server for paid plans, with setup for Claude Code, Codex, Claude Desktop, VS Code and others. Its tools run NRQL queries and analyze transactions and metrics; the tool reference lists no database-specific tools. 89 |
| 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. 16 |
| 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 | PartlyProduct support by edition: ticketed support with a 2-business-day response SLA on Standard, a 2-hour critical initial response SLA on Pro and 1 hour on Enterprise. The sources we reviewed do not describe PostgreSQL consulting. 7 |
| Alerts | Email and Slack alerts on Starter and Scale. docs | Alert workflows notify email, Slack, PagerDuty, Microsoft Teams, Opsgenie, Jira, ServiceNow, AWS EventBridge, webhooks and other destinations. 11 |
| History kept | 14 days on Starter, 13 months on Scale, custom on Enterprise. docs | Infrastructure integration data is kept 395 days (13 months) with the original data option and 485 days (16 months) with Data Plus. 10 |
| 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 | New Relic lists SOC 1, SOC 2, ISO 27001, ISO 42001, FedRAMP, PCI DSS, TISAX and HIPAA enabled capabilities. 12 |
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 |
| New Relic | Free | $0 | 100 GB/month of data ingest, one full platform user, free basic users; no MCP server 78 |
| New Relic | Standard | $10 first full platform user/month, $99 each additional | Up to 5 full platform users; core users $49/user; data ingest $0.40/GB beyond the free 100 GB 7 |
| New Relic | Pro | $349 per full platform user/month | Annual commitment; $418.80/user pay as you go; core users $49/user; data ingest $0.40/GB beyond the free 100 GB 7 |
| New Relic | Enterprise | Contact sales | Custom data and user pricing 7 |
List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. New Relic bills by users and data ingest, or by compute and data ingest. Data Plus ingest is $0.60/GB beyond the free 100 GB on Standard and Pro. PostgresAI pricing
Using PostgresAI with New Relic
DBLab is a separate product that copies any PostgreSQL source, so a team that monitors with New Relic can still use a DBLab clone to try an index or query change on full-size data before production.
Questions
- Does New Relic show PostgreSQL wait events and execution plans?
- Yes, with query performance monitoring turned on in the PostgreSQL integration. It collects slow queries, wait events, blocking sessions, individual queries and execution plan metrics. New Relic announced this as generally available on July 22, 2025. 23
- Does New Relic work with Amazon RDS?
- Yes. The integration runs on a host with network access to the database, and the guide covers SSL settings for Amazon RDS and Aurora and Azure Database for PostgreSQL Flexible Server. 2
- What does New Relic cost?
- There is a free tier with 100 GB of ingest a month. Paid plans bill full platform users ($10 for the first and $99 for each additional on Standard, $349 a user on Pro with an annual commitment) and data ingest at $0.40/GB beyond 100 GB. 7
- Can I use PostgresAI and New Relic together?
- Yes. DBLab, the PostgresAI cloning product, copies any PostgreSQL source, so a team that monitors with New Relic can test an index or query change on a full-size DBLab clone before production.
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
- New Relic documentation: query performance monitoring
- New Relic documentation: PostgreSQL monitoring integration
- New Relic: enhanced database performance monitoring generally available (July 2025)
- New Relic documentation: PostgreSQL NRDOT metrics reference
- New Relic docs release notes, August 21, 2026
- New Relic Database 360
- New Relic pricing
- New Relic documentation: Ground Truth (MCP server)
- New Relic documentation: MCP tool reference
- New Relic documentation: manage data retention
- New Relic documentation: notification integrations
- New Relic documentation: regulatory audits
- nri-postgresql repository
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
- CorootPostgres experts and history vs eBPF query capture
- Datadog Database Monitoringopen source vs traced queries
- Dynatraceopen-source monitoring vs an ActiveGate extension
- Foglight for PostgreSQLopen source vs workload drill-down
- Grafana Cloud Database Observabilitycheckups vs query data
- Netdatawait events and experts vs per-second metrics
- Redgate Monitoropen source vs captured plans and alerts
- SolarWinds DPAopen source vs commercial wait-time analysis
- All comparisons