Skip to main content

PostgresAI vs pganalyze

open source vs plan and log insights

pganalyze collects query plans and logs and gives index, query and VACUUM advice. PostgresAI is open-source monitoring that files each finding as an Issue with a fix.

See plans and pricingOpen the live demoTalk to us

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

Where PostgresAI is ahead of pganalyze​

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

  1. Open source, no licence fee to self-host

    PostgresAI

    The monitoring software is open source under Apache 2.0, so self-hosting it carries no licence fee. docsdocs 2

    pganalyze

    The pganalyze collector is open source under the 3-clause BSD license. The pganalyze FAQ says pganalyze itself is not open source; self-hosting it with Enterprise Server comes with the Enterprise plan, which has custom annual pricing. 243

  2. 13 months of history

    PostgresAI

    Scale keeps 13 months of history. docs

    pganalyze

    pganalyze keeps 14 days of historic statistics on Production, 35 days on Scale and 100 days on Enterprise. 3

  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

    pganalyze

    pganalyze Workbooks run EXPLAIN ANALYZE of a query and its variants on a database you connect. The docs say Workbooks are not suited for testing CREATE INDEX, do not support DML queries and limit each run to 60 seconds. 11

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

    pganalyze

    The pganalyze MCP server has 30 tools, including Workbooks tools that run EXPLAIN ANALYZE. It is in public preview, limited to 100 requests per billable server per hour, and its tools may change. 12

Short answer​

pganalyze is a PostgreSQL monitoring service that collects query statistics, EXPLAIN plans from auto_explain and Postgres logs, and turns them into Index, Query and VACUUM Advisor insights. PostgresAI monitors Postgres, runs scheduled checkups and turns findings into Issues that you, your AI agent or a PostgresAI expert can act on. Pick pganalyze if per-query plan analysis, log analysis and query tuning workbooks are what you need. Pick PostgresAI if you want open-source monitoring you can self-host with no licence fee, human experts on the plan, or DBLab clones to test a fix.

When pganalyze is the better choice​

  • Automatic EXPLAIN plan collection from auto_explain, with plan insights such as disk sorts, mis-estimates and stale stats, and a Query Advisor that flags issues like inefficient nested loops.
  • Index Advisor models hundreds of candidate index combinations across the whole workload, and is on every plan including the $149 Production plan.
  • Log Insights classifies Postgres log lines and includes 100+ preconfigured log event filters with PII filtering on Scale.
  • Workbooks hold a baseline query and variants (planner settings, pg_hint_plan hints, rewrites), compare plans and test bind parameter sets.
  • Install guides for 10 platforms, including Heroku Postgres, Crunchy Bridge, Aiven, Supabase and Neon, and PostgreSQL 10 and newer.
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 pganalyze, side by side​

QuestionPostgresAIpganalyze
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 monitoring and tuning service. A collector sends query statistics, schema, plans and logs to pganalyze Cloud or a self-hosted Enterprise Server, which runs the Index, Query and VACUUM Advisors, Log Insights and automated checks. 235
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. docsYesInstall guides for Amazon RDS and Aurora, Azure Flexible Server, Google Cloud SQL and AlloyDB, CloudNativePG on Kubernetes, self-managed servers, Heroku Postgres, Crunchy Bridge, Aiven, Supabase and Neon. The minimum supported version is PostgreSQL 10. It needs pg_stat_statements. 12
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 2Yespganalyze Cloud, or Enterprise Server behind your firewall (Docker on a VM, or Kubernetes on EKS or AKS) on the Enterprise plan. The collector never sends table rows; parameter values in query samples are sent unless filter_query_sample is set to normalize. 235
Open sourceYesThe monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. docsdocs 2PartlyThe collector is open source under the 3-clause BSD license. The pganalyze FAQ answers "Is pganalyze open source?" with no: it is a commercial product, sold as a cloud service or as the self-hosted Enterprise Server. 42
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 2YesQuery statistics from pg_stat_statements, plus EXPLAIN plans collected from auto_explain output in the Postgres logs with 8 plan insights. Plan collection and Query Advisor, which analyzes plans for issues such as inefficient nested loops, are on the Scale plan and higher. 1083
Wait event analysisYesAn ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. docsYesA Wait Events tab with data collected every 10 seconds, plotted in 150-second buckets, and Connection Traces per connection. Both are on the Scale plan and higher. 13
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 2YesAutomated checks for slow queries, blocking and idle transactions, missing, invalid and unused indexes, settings, disk space, replication lag and VACUUM, including wraparound. VACUUM Advisor covers bloat, freezing, autovacuum performance and activity. 697
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 2PreviewAn MCP server in public preview at app.pganalyze.com/mcp with 30 tools for servers, queries, tables, EXPLAIN plans, issues, logs and Workbooks. Setup is documented for Claude Code, Codex and Cursor, with OAuth, API key or personal access token (early access). During the preview it is limited to 100 requests per billable server per hour. 12
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 2PartlyIndex Advisor models candidate indexes without creating them. Workbooks compare EXPLAIN ANALYZE of a query and its variants on a database you connect; the docs list limits: not suited for testing CREATE INDEX, no DML queries, 60 seconds per run. The sources we reviewed do not describe running a change on a separate copy of the data. 711
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 2PartlyEnterprise includes proactive Solution Engineering support and training for using pganalyze, and a one-month guided evaluation for large deployments. The sources we reviewed do not describe PostgreSQL consulting beyond the product. 32
AlertsEmail and Slack alerts on Starter and Scale. docsAlert destinations: email, Slack and PagerDuty, plus webhooks and incident.io in early access. Email and PagerDuty are notified for critical issues only. 6
History kept14 days on Starter, 13 months on Scale, custom on Enterprise. docs14 days on Production, 35 days on Scale, 100 days on Enterprise. 3
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. docsThe pricing and security pages state that pganalyze is SOC 2 Type 2 certified. Infrastructure is hosted in Amazon data centers. 143

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
pganalyzeProduction$149/month1 database server, 14 days of history, Index Advisor, Workbooks, health checks, MCP server 3
pganalyzeScale$399/monthUp to 4 servers, $100/month for each additional billable server; 35 days of history; Query and VACUUM Advisors, auto_explain plans, Log Insights, SAML SSO 3
pganalyzeEnterpriseCustomAnnual; Enterprise Server for self-hosting, 100 days of history, LDAP, Solution Engineering support 3

List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. pganalyze bills per billable server: a primary counts as 1.0 and a replica as 0.5. There is a 14-day free trial with Scale features and no free plan. PostgresAI pricing

Using PostgresAI with pganalyze​

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

Questions​

Is pganalyze open source?
The pganalyze collector is open source under the 3-clause BSD license. The pganalyze FAQ says pganalyze itself is not open source: it is a commercial product, sold as a cloud service or as the self-hosted Enterprise Server. PostgresAI monitoring is open source under Apache 2.0. 42
Does pganalyze work with Amazon RDS?
Yes. pganalyze has install guides for Amazon RDS and Aurora, Google Cloud SQL and AlloyDB, Azure Flexible Server and several other providers. The collector runs on a server with network access to the database. 1
What does pganalyze cost?
Production is $149 a month for one server and Scale is $399 a month for up to 4 servers, with $100 a month for each extra billable server. Enterprise, including self-hosted Enterprise Server, has custom annual pricing. A 14-day trial needs no credit card. 32
Can I self-host pganalyze?
Yes, on the Enterprise plan. pganalyze Enterprise Server runs behind your firewall on Docker or Kubernetes, and no monitoring data leaves your network. 52
Can I use PostgresAI and pganalyze together?
Yes. DBLab, the PostgresAI cloning product, copies any PostgreSQL source, so a team that monitors with pganalyze 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.

See plans and pricingOpen the live demoTalk to us

Sources​

  1. pganalyze documentation: get started (install)
  2. pganalyze FAQ
  3. pganalyze pricing
  4. pganalyze collector repository
  5. pganalyze Enterprise Server
  6. pganalyze documentation: alerts and check-up
  7. pganalyze documentation: Index Advisor
  8. pganalyze documentation: Query Advisor
  9. pganalyze documentation: VACUUM Advisor
  10. pganalyze documentation: EXPLAIN plans
  11. pganalyze documentation: Workbooks
  12. pganalyze documentation: MCP server
  13. pganalyze documentation: connections and wait events
  14. pganalyze security

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.