PostgresAI vs OtterTune
open-source monitoring vs ML knob tuning (closed)
OtterTune tuned PostgreSQL knobs on Amazon RDS and Aurora with ML until it shut down in June 2024. PostgresAI monitors Postgres on any provider, as open source.
See plans and pricingOpen the live demoTalk to us
Status of OtterTune: On June 3, 2024 OtterTune announced that it would shut down OtterTune and all related services on June 13, 2024, delete account data for subscribers and trial users that day, and refund the unused part of active subscriptions. ottertune.com now reads "OtterTune is Dead (2020-2024)". 213
What PostgresAI offers in its place
Each point pairs what our documentation says with what the OtterTune documentation says. Follow the links and check.
The same checks wherever Postgres runs
PostgresAIAmazon RDS and Aurora, Google Cloud SQL, Azure Database for PostgreSQL, Supabase, Tiger Data, self-managed servers and Postgres running on Kubernetes. docs
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
OtterTuneOtterTune collected knobs and runtime metrics every minute, and table, index and schema metrics and query digests every hour. The sources we reviewed do not describe wait event analysis. 8
Short answer
OtterTune was a SaaS service that used machine learning to tune PostgreSQL configuration knobs on Amazon RDS and Aurora, with health scores, index checks and query recommendations. It shut down on June 13, 2024, so it can no longer be bought or used. PostgresAI is a different kind of product: it monitors PostgreSQL, runs scheduled checkups and turns findings into Issues that you, your AI agent or a PostgresAI expert act on. PostgresAI reports settings findings as Issues; it does not change configuration automatically, as OtterTune did.
What OtterTune was chosen for
- OtterTune is no longer available: the service shut down on June 13, 2024 and account data was deleted that day. This page records what it did for people who used it or are looking for a replacement.
- It tuned 100+ configuration knobs with machine learning toward a target you chose, such as query latency, throughput or CPU utilization.
- It could apply the recommended knob settings itself, with or without human approval, on a tuning schedule you set down to the day and minute.
- Its open-source agent ran in your own environment (Fargate via CloudFormation, Docker, Kubernetes or Helm) and connected to the database from there.

What you get
Checkup findings as Issues in the PostgresAI Console. How it works
PostgresAI and OtterTune, side by side
| Question | PostgresAI | OtterTune |
|---|---|---|
| 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 | A database configuration tuning and monitoring service, now shut down. An agent in your environment sent knobs and runtime metrics to OtterTune, whose ML engine generated new configurations; it also gave health scores, index checks and query recommendations. 642 |
| 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 | PartlyAmazon RDS and Aurora only. As of March 2022 the docs listed Amazon RDS for PostgreSQL 10 to 14, Aurora PostgreSQL 10 to 13 and Aurora Serverless PostgreSQL 13 and 14. The home page offered a waitlist to users not on Aurora or RDS, and setup needed IAM roles in your AWS account. 84 |
| 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 documentedA hosted service, with the agent deployed in your environment. It collected knobs and runtime metrics every minute, and table, index and schema metrics and normalized query digests every hour, not table data. The sources we reviewed do not describe self-hosting the service. 678 |
| Open source | YesThe monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. docsdocs 2 | PartlyThe agent was open source under Apache 2.0 (repository now archived). The original CMU research prototype is public under the Business Source License 1.1. The sources we reviewed do not describe the commercial service as open source. 10117 |
| 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 | PreviewQuery recommendations based on query digests and summary statistics. The home page in March 2024 labelled query recommendations "Queries (Beta)". 465 |
| Wait event analysis | YesAn ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. docs | Not documentedNot documented in the sources we reviewed. The documented data was knobs, runtime metrics, table and index metrics, schema and query digests. 86 |
| 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 | YesHealth scores for databases, tables, indexes and queries, unused and duplicate index detection, and autovacuum checks for PostgreSQL. Knob recommendations could be applied automatically or reviewed first. 54 |
| 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 | PartlyAPI access was listed on the Standard plan, and a Slack app posted when a configuration was ready or applied. The sources we reviewed do not describe an MCP server or AI agent interface. 59 |
| 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. A manual review mode let a person approve a new configuration before OtterTune applied it to the database. 49 |
| 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 | PartlyThe Standard plan included customer support via Slack, email, chat and video calls; Enterprise added a dedicated onboarding representative. The sources we reviewed do not describe PostgreSQL consulting. 5 |
| Alerts | Email and Slack alerts on Starter and Scale. docs | A Slack app sent "Tuning Disabled", "Configuration Applied" and "Configuration Ready" notifications. The sources we reviewed do not describe other alert channels. 9 |
| History kept | 14 days on Starter, 13 months on Scale, custom on Enterprise. docs | The home page said charts covered custom time ranges "with no caps on historical data". All account data was deleted on June 13, 2024. 42 |
| 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 | OtterTune announced in November 2022 that it had completed a SOC 2 Type II audit, and the 2024 pricing page listed SOC 2 compliance. 125 |
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 |
| OtterTune | Standard (2024, no longer sold) | $220/month per database | 30-day free trial for up to three databases, no credit card; 25% off on yearly billing 5 |
| OtterTune | Enterprise (2024, no longer sold) | Custom | Volume and term discounts, Amazon S3 bucket support, dedicated onboarding representative 5 |
List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. Prices are from the archived pricing page of February 2024. The service shut down on June 13, 2024; active subscribers received prorated refunds. PostgresAI pricing
Questions
- What happened to OtterTune?
- On June 3, 2024 the OtterTune team announced that OtterTune and all its related services would shut down on June 13, 2024, with account data deleted that day and prorated refunds for active subscribers. Co-founder Andy Pavlo wrote that he, Dana Van Aken and Bohan Zhang worked on the research project and startup for almost a decade. 23
- Can I still use OtterTune?
- No. The service was shut down on June 13, 2024, and ottertune.com now shows only a notice that the company is dead. The agent repository on GitHub is archived. 1210
- What did OtterTune do?
- It used machine learning to tune PostgreSQL configuration knobs on Amazon RDS and Aurora toward a target such as latency, throughput or CPU use, and could apply the new settings automatically or after review. It also gave health scores, unused and duplicate index detection, autovacuum checks and query recommendations. 456
- Is OtterTune open source?
- The sources we reviewed do not describe the commercial service as open source. Its agent is public under Apache 2.0 in an archived repository, and the original Carnegie Mellon research prototype is public under the Business Source License 1.1. 1011
- Does PostgresAI tune configuration like OtterTune did?
- PostgresAI checkups report on settings, autovacuum and bloat, and indexes, and each finding becomes an Issue with a specific fix for you, your AI agent or a PostgresAI expert. It does not change configuration automatically, as OtterTune did.
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
- ottertune.com today
- OtterTune blog: OtterTune officially shutting down services (June 3, 2024, archived)
- Andy Pavlo: 2024 databases retrospective (CMU blog)
- OtterTune home page (March 2024, archived)
- OtterTune plans and pricing (February 2024, archived)
- OtterTune docs: how OtterTune works (archived)
- OtterTune docs: agent setup (archived)
- OtterTune docs: frequently asked questions (archived)
- OtterTune docs: Slack integration (archived)
- OtterTune agent repository (archived)
- OtterTune research prototype repository (CMU, archived)
- OtterTune blog: we got our SOC 2 Type II report (archived)
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
- DBtunemonitoring and checkups vs automated parameter tuning
- EverSQLany provider vs AI query rewrites on Aiven
- Postgres MCP Proalways-on monitoring vs an MCP server
- Readyset RDSTserver monitoring vs a desktop query agent
- Releemmonitoring with history vs config tuning it applies
- Amazon DevOps Guru for RDSany cloud vs ML on RDS (closing)
- Azure PostgreSQL built-in toolsany provider vs Azure only
- Cloud SQL Query Insightsany provider vs inside Cloud SQL
- All comparisons