Skip to main content

PostgresAI vs DBtune

monitoring and checkups vs automated parameter tuning

DBtune tunes PostgreSQL server parameters against your workload, automatically or with approval. PostgresAI monitors queries and waits and files findings as Issues.

See plans and pricingOpen the live demoTalk to us

Checked on against 18 pages of DBtune documentation. PostgreSQL only. Markdown

Where PostgresAI is ahead of DBtune​

Each point pairs what our documentation says with what the DBtune 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

    DBtune

    The DBtune agent is open source under Apache 2.0. The tuning service is sold as SaaS, with a free Starter tier for 3 servers, and self-hosting it is the Enterprise Server edition, priced on request. 1027

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

    DBtune

    DBtune tests parameter configurations on the connected database, or on a shadow system you set up. Index recommendations are modelled with HypoPG on a statistical snapshot, and the docs say reported speedups may not match production. 18516

  3. 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. docs

    DBtune

    The DBtune agent collects wait events every 5 seconds as tuning input. The sources we reviewed do not describe a wait event view. 8

Short answer​

DBtune is a PostgreSQL configuration tuning service. An agent next to the database reports metrics, and DBtune tries parameter settings such as work_mem and max_wal_size, measures average query runtime or throughput, and applies the best ones automatically or after your approval. Its October 2026 release made index recommendations generally available and added autovacuum monitoring. PostgresAI monitors Postgres, runs scheduled checkups and turns findings into Issues that you, your AI agent or a PostgresAI expert can act on. Pick DBtune to tune server parameters from measured results. Pick PostgresAI for query-level monitoring, checkups and expert help. The two can run on the same database.

When DBtune is the better choice​

  • Automated tuning of server parameters: on community PostgreSQL, up to 16 in reload-only mode with no restart, and 20 with restart mode, measured against average query runtime, throughput or a workload fingerprint.
  • Applies the best configuration automatically, or with Human in the loop, each configuration waits for your approval.
  • Guardrails: the agent reverts to the baseline configuration if memory use passes 90% of RAM, and thresholds on runtime and throughput can be set.
  • Starter is free for 3 database servers; Professional is $150 per core per year with unlimited servers.
  • SOC 2 Type II certified, and an Enterprise Server edition for self-hosting on Docker Compose or Kubernetes, with the full SaaS feature set.
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 DBtune, side by side​

QuestionPostgresAIDBtune
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 configuration optimization service: it tunes PostgreSQL server parameters from measured workload results. Version 4.0.0 of October 2026 made index recommendations generally available and added autovacuum monitoring. 319
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. docsYesSetup guides for community PostgreSQL, Amazon RDS and Aurora, Azure Database for PostgreSQL flexible server, Google Cloud SQL, Aiven, CloudNativePG, EPAS and Patroni. The FAQ says it supports all PostgreSQL versions still maintained by the community. It needs pg_stat_statements. 456
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 2YesSaaS with an agent next to the database, or Enterprise Server, self-hosted for enterprise customers. The agent sends metrics, settings and schema metadata, and query text with obfuscated parameters by default; no row data. 278
Open sourceYesThe monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. docsdocs 2PartlyThe agent is open source under Apache 2.0. The DBtune service is sold on paid plans with a free Starter tier; the sources we reviewed do not describe its source code as public. 102
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 2PartlyUses pg_stat_statements to compute average query runtime and a workload fingerprint of queries by runtime and call count, as tuning targets. Index tuning lists the queries an index would affect, with their runtime over the last 7 days, and estimates the speedup with the planner and HypoPG. 1116
Wait event analysisYesAn ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. docsPartlyThe agent collects hot signals such as wait events every 5 seconds. The sources we reviewed do not describe a wait event analysis view. 8
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 2YesIndex recommendations for new indexes and for unused, redundant or bloated ones, with expected speedup and DDL that you run yourself; autovacuum monitoring of transaction ID use, worker saturation and bloat on PostgreSQL 16 and newer; recommendations for restart-only parameters, max_connections and version upgrades. 1617912
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 2Not documentedNot documented in the sources we reviewed. DBtune describes itself as agentic AI, but the docs and release notes we read do not describe an MCP server or CLI for AI coding agents. 19
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 2PartlyA tuning session tests configurations on the connected database and compares them with the baseline, with memory and performance guardrails; Human in the loop holds each one for approval. The FAQ says you can tune a shadow system and apply the result to production. Index recommendations are modelled with HypoPG on a statistical snapshot. 181415516
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 2PartlyProfessional has a dedicated Slack channel and email support, answered within 24 hours during business hours. Enterprise adds phone support within 60 minutes during business hours, and Enterprise and Enterprise Server include onboarding with training and help configuring the first database servers. 2
AlertsEmail and Slack alerts on Starter and Scale. docsWhen a guardrail threshold is reached, DBtune sends an email and shows an in-platform notification. Release 3.1.5 added alerts for an outdated workload fingerprint. 149
History kept14 days on Starter, 13 months on Scale, custom on Enterprise. docsNot documented in the sources we reviewed. 8
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 DBtune home page states that it is SOC 2 Type II certified. Release 3.6.8 of April 2026 says DBtune completed its SOC 2 Type II audit. 19

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
DBtuneStarterFree3 database servers, community support, SaaS with an agent 2
DBtuneProfessional$150 per core/yearUnlimited servers, recommended for servers under 32 cores; Slack and email support; buy through AWS or Azure Marketplace 2
DBtuneEnterpriseContact salesUnlimited servers, premium support with phone response within 60 minutes, onboarding 2
DBtuneEnterprise ServerContact salesSelf-hosted in a private cloud or data center 27

List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. DBtune prices Professional per database server core per year; PostgresAI prices per cluster per month. The two units are not directly comparable. PostgresAI pricing

Using PostgresAI with DBtune​

DBtune and PostgresAI monitoring both document Amazon RDS and Aurora, Google Cloud SQL, Azure Database for PostgreSQL and self-managed servers, and both read pg_stat_statements. A team can let DBtune tune server parameters while PostgresAI monitors queries and wait events and runs checkups on the same database.

Questions​

Does DBtune monitor queries?
DBtune reads pg_stat_statements to measure average query runtime and a workload fingerprint, which it uses as tuning targets, and index tuning estimates how much a new index would speed up the queries you ran. Its main job is tuning server parameters; the sources we reviewed do not describe a query monitoring dashboard. 11163
Does DBtune restart my database?
Not by default. The FAQ says DBtune by default only uses reloads. Restart mode, which you choose per session, can restart the database up to 30 times, typically over 2 to 4 hours. 513
What does DBtune cost?
Starter is free for 3 database servers. Professional is $150 per year per database server core, recommended for servers under 32 cores. The pricing page shows no amount for Enterprise or the self-hosted Enterprise Server. 2
Is DBtune open source?
The DBtune agent is open source under Apache 2.0. The tuning service itself is sold as SaaS or as a self-hosted Enterprise Server. PostgresAI monitoring is open source under Apache 2.0. 102
Can I use PostgresAI and DBtune together?
Yes. DBtune changes server parameters; PostgresAI monitors queries and wait events and runs checkups. Both support Amazon RDS and Aurora, Cloud SQL, Azure and self-managed Postgres. 4

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. DBtune home page
  2. DBtune pricing
  3. DBtune documentation: how DBtune works
  4. DBtune documentation: supported PostgreSQL flavors
  5. DBtune documentation: FAQ
  6. DBtune documentation: community PostgreSQL
  7. DBtune documentation: self-hosted deployment
  8. DBtune documentation: agent monitoring and privacy
  9. DBtune release notes
  10. DBtune agent license
  11. DBtune documentation: tuning targets
  12. DBtune documentation: recommendations
  13. DBtune documentation: tuning modes
  14. DBtune documentation: production-safe tuning
  15. DBtune documentation: human in the loop
  16. DBtune documentation: index tuning
  17. DBtune documentation: autovacuum monitoring
  18. DBtune documentation: server parameter tuning

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.