PostgresAI vs Dynatrace
open-source monitoring vs an ActiveGate extension
Dynatrace monitors Postgres through an ActiveGate extension, with top statements and plans. PostgresAI is open-source Postgres monitoring with checkups and Issues.
Where PostgresAI is ahead of Dynatrace
Each point pairs what our documentation says with what the Dynatrace documentation says. Follow the links and check.
Open source, no licence fee to self-host
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
Test the fix on a full-size copy first
Short answer
Dynatrace is an observability platform. Its PostgreSQL extension runs on an ActiveGate, connects to the database remotely and collects metrics, top statements and execution plans; the Databases app adds a health score, anomaly detection, query rewrite suggestions and index recommendations, and database instances link to the services that call them. 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 Dynatrace for automatic plan capture and index recommendations next to service data. Pick PostgresAI for open-source monitoring you can self-host, human Postgres experts, or DBLab clones to test a fix.
When Dynatrace is the better choice
- The Databases app shows the services that call each PostgreSQL instance, and OneAgent on a self-managed host adds the host with its CPU, memory, disk and network metrics.
- Dynatrace Intelligence detects anomalies, gives recommendations such as rewriting queries or adding indexes, and Davis CoPilot can summarize an execution plan.
- Index Recommendations for PostgreSQL use the hypopg extension and a dynatrace_index_advisor function you create in each database; Amazon RDS and Aurora already ship hypopg.
- The PostgreSQL extension collects metrics across databases, activity, WAL, replication, I/O, locks and subscriptions, and captures execution plans for top queries automatically.
- A generally available remote MCP server connects AI clients such as GitHub Copilot, Microsoft Copilot and Atlassian Rovo to Dynatrace data, with OAuth or platform tokens.

What you get
Checkup findings as Issues in the PostgresAI Console. How it works
PostgresAI and Dynatrace, side by side
| Question | PostgresAI | Dynatrace |
|---|---|---|
| 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 ActiveGate SQL extension pulls metrics, top statements and execution plans over a remote connection; the Databases app shows them with anomaly detection and recommendations. OneAgent can add host metrics for a self-managed server. 1254 |
| 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 | YesCompatible with all currently maintained Postgres versions; extension 3.0.10 dropped PostgreSQL 13 and below. The docs cover self-hosted servers, Amazon RDS and Aurora (with IAM authentication), Google Cloud SQL and Azure Database for PostgreSQL. It needs an ActiveGate with network access, pg_stat_statements and a user with pg_monitor. 21 |
| 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 ActiveGate runs in your environment and connects to the database remotely. Query parameters are replaced with placeholders and execution plans are sanitized. The sources we reviewed do not describe self-hosting the platform that stores the data. 26 |
| Open source | YesThe monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. docsdocs 2 | Not documentedNot documented in the sources we reviewed. Dynatrace is sold as a paid platform with a 15-day free trial. 18 |
| 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 | YesTop statements ranked by resource use and execution time, filterable by time, CPU, disk or waits, and stored as logs. Execution plans for top queries are captured automatically through a helper function you create in each database, and Request execution plan fetches one for any statement. 35124 |
| Wait event analysis | YesAn ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. docs | PartlyWhen possible, top statements are correlated with pg_stat_activity data to get wait event times, and metrics count processes actively waiting. The sources we reviewed do not describe a separate wait event view for PostgreSQL. 12 |
| 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 | YesA health score per instance, an Indexes view to identify unused or problematic indexes, and recommendations for query and configuration optimizations, including rewriting queries or adding indexes. Dynatrace Intelligence detects anomalies, and alert templates cover health alerts and warning signals. 571 |
| 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 | YesA remote Dynatrace MCP Server, generally available, with OAuth or platform token access from MCP clients such as GitHub Copilot, Microsoft Copilot and Atlassian Rovo. Its Hub page describes a growing collection of tools without listing them. 10 |
| 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. Index Recommendations use the hypopg extension and a dynatrace_index_advisor function in the monitored database; the sources do not describe testing a change on a separate copy. 257 |
| 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 | Not documentedNot documented in the sources we reviewed. The pricing page says a Dynatrace subscription includes the security, compliance and support infrastructure teams expect. 8 |
| Alerts | Email and Slack alerts on Starter and Scale. docs | The Databases app sets up health alerts and warning signals from templates in the Anomaly Detection app, and Dynatrace Intelligence raises problems from anomalies. 71 |
| History kept | 14 days on Starter, 13 months on Scale, custom on Enterprise. docs | Database monitoring data, including statements, is kept for 35 days by default, and retention can be adjusted. Metrics include 15 months of retention at 1-minute granularity, extendable to 10 years; log retention is billed at $0.0007 per GiB-day on Pay-per-Query. 638 |
| 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 | The Dynatrace Trust Center lists SOC 2 Type II, ISO 27001:2022, ISO 42001:2023, FedRAMP Moderate and HIPAA, among others. 11 |
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 |
| Dynatrace | Database Monitoring | $0.11 per database-instance-hour | Rate card list price 9 |
| Dynatrace | Infrastructure Monitoring | $29 per host/month | Billed at $0.04 per hour per host 89 |
| Dynatrace | Log and metric ingest | $0.20 per GiB (logs), $0.15 per 100k datapoints (metrics) | Ingest and process; retention and log queries are billed separately 8 |
List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. The extension docs say there is no charge for the PostgreSQL extension itself, only for the data it ingests; the Hub says the extension was aligned with the latest Database licensing model, and the rate card lists Database Monitoring per database-instance-hour. There is a 15-day free trial. PostgresAI pricing
Using PostgresAI with Dynatrace
DBLab is a separate product that copies any PostgreSQL source, so a team that monitors with Dynatrace can still use a DBLab clone to try an index or query change on full-size data before production.
Questions
- Does Dynatrace work with Amazon RDS for PostgreSQL?
- Yes. The PostgreSQL extension runs on an ActiveGate that connects to the database remotely, and its docs cover Amazon RDS, Aurora, Google Cloud SQL and Azure Database for PostgreSQL as well as self-hosted servers. 2
- Does Dynatrace collect PostgreSQL execution plans?
- Yes. Since extension version 3.0.10, execution plans for top queries are captured automatically. You create a helper function in each monitored database that generates the plans, and plans are sanitized to remove sensitive values. 126
- What does Dynatrace database monitoring cost?
- The Dynatrace rate card lists Database Monitoring at $0.11 per database-instance-hour. Host monitoring, log and metric ingest are billed separately, and there is a 15-day free trial. 98
- Which PostgreSQL versions does Dynatrace support?
- The PostgreSQL extension docs say it is compatible with all currently maintained Postgres versions. Extension version 3.0.10 dropped support for PostgreSQL 13 and below. PostgresAI monitoring supports PostgreSQL 14 and later. 21
- Can I use PostgresAI and Dynatrace together?
- Yes. DBLab, the PostgresAI cloning product, copies any PostgreSQL source, so a team that monitors with Dynatrace 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
- Dynatrace Hub: PostgreSQL extension
- Dynatrace documentation: PostgreSQL extension
- Dynatrace documentation: database statements and execution plans
- Dynatrace documentation: database monitoring approaches
- Dynatrace documentation: databases
- Dynatrace documentation: data collected with database monitoring
- Dynatrace Hub: Databases app
- Dynatrace pricing
- Dynatrace rate card
- Dynatrace Hub: Dynatrace MCP Server
- Dynatrace Trust Center
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
- Foglight for PostgreSQLopen source vs workload drill-down
- Grafana Cloud Database Observabilitycheckups vs query data
- Netdatawait events and experts vs per-second metrics
- New Relicopen source with experts vs queries tied to traces
- Redgate Monitoropen source vs captured plans and alerts
- SolarWinds DPAopen source vs commercial wait-time analysis
- All comparisons