PostgresAI vs EverSQL
any provider vs AI query rewrites on Aiven
EverSQL is now Aiven AI Database Optimizer, with index and rewrite advice inside Aiven for PostgreSQL. PostgresAI works on any provider and gives each finding a fix.
See plans and pricingOpen the live demoTalk to us
Status of EverSQL: Aiven announced on November 21, 2023 that it had acquired EverSQL. Since May 28, 2024 the EverSQL engine powers Aiven AI Database Optimizer, built into Aiven for PostgreSQL. eversql.com now says "EverSQL is now a part of Aiven" and links to Aiven's free SQL Query Optimizer. 132
Where PostgresAI is ahead of EverSQL
Each point pairs what our documentation says with what the EverSQL 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
Every finding comes with a fix
PostgresAIScheduled checkups turn each finding into an Issue with severity, evidence and a specific fix. docsdocs 2
EverSQLIn Aiven AI insights you pick a query and click Optimize to get index and SQL rewrite suggestions, applied by running the SQL provided. The sources we reviewed do not describe scheduled checks of settings, autovacuum or bloat. 5
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
Short answer
EverSQL, bought by Aiven in 2023, is now Aiven AI Database Optimizer. It shows slow queries in the AI insights tab of Aiven for PostgreSQL services and suggests indexes and SQL rewrites; a free web tool takes a pasted PostgreSQL query. PostgresAI monitors PostgreSQL on any provider, runs scheduled checkups and turns findings into Issues for you, your AI agent or a PostgresAI expert. Pick Aiven if your databases run on Aiven and you want query and index suggestions in its console. Pick PostgresAI for databases hosted elsewhere, or for checkups and expert help.
When EverSQL is the better choice
- On Aiven for PostgreSQL, the optimizer is built into the console: open AI insights, click Optimize on a query, and get index and rewrite suggestions with a query diff and explanations.
- In May 2024 Aiven announced it free for all Aiven for PostgreSQL users during early availability, and the current pricing page lists no separate charge for it.
- The standalone SQL Query Optimizer takes a pasted PostgreSQL query plus optional schema statistics, needs no connection to the database, and is free during early availability.
- It works without database credentials or access to table data, and masks query parameters with question marks by default.
- On Aiven, service forks give a complete copy of a service for testing, and the Aiven MCP server lets AI assistants find slow queries and missing indexes in PostgreSQL.

What you get
Checkup findings as Issues in the PostgresAI Console. How it works
PostgresAI and EverSQL, side by side
| Question | PostgresAI | EverSQL |
|---|---|---|
| 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 | Aiven AI Database Optimizer, powered by the EverSQL engine: AI-driven index and SQL rewrite suggestions for slow queries in Aiven services. A separate free web tool optimizes a single pasted query. 356 |
| 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 | PartlyThe continuous optimizer is documented for Aiven for PostgreSQL services; the docs say to use the standalone tool "when you do not run an Aiven for PostgreSQL service". That tool takes a pasted PostgreSQL query and metadata and cannot connect to a database. 567 |
| 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 documentedBuilt into the Aiven Console for Aiven services. Aiven services can run in your own cloud account with Bring your own cloud, offered case by case with a commitment deal. It needs no credentials or access to table data. The sources we reviewed do not describe a self-hosted version of the optimizer. 512 |
| 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. The optimizer and the web tool are offered as Aiven services. 36 |
| 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 | YesThe AI insights tab lists running queries; Aiven says query execution counts and average query times are processed to find statements to optimize. Optimize returns index and SQL rewrite suggestions, alternatives, a query diff and an explanation, as SQL you run yourself. 543 |
| 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 for the optimizer. 45 |
| 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 | PartlyPer-query suggestions in AI insights. eversql.com describes ongoing recommendations, including removing redundant indexes. The sources we reviewed do not describe scheduled checks of settings or vacuum. 52 |
| 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 | YesThe Aiven MCP server lets AI assistants create and manage Aiven services; for PostgreSQL it can run read-only SQL queries and find slow queries and missing indexes. Clients listed include Cursor, Claude Code, Claude Desktop, VS Code and Gemini CLI. It is included with an Aiven account at no extra cost. 9 |
| 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 | PartlyAiven service forking creates an independent, complete copy of a service, configuration and data, from its latest backup; Aiven lists testing upgrades and development copies of production as uses. The optimizer itself returns SQL to run. The sources we reviewed do not tie forks to testing optimizer suggestions. 105 |
| 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 | PartlyAiven offers Essential, Advanced and Premium support tiers on top of Basic support, and Premium includes service capacity and cost optimization up to an architectural review. The sources we reviewed do not describe PostgreSQL consulting as part of the optimizer. 13 |
| Alerts | Email and Slack alerts on Starter and Scale. docs | Not documented in the sources we reviewed for the optimizer. At the acquisition, Aiven said monitoring and alerting would follow the first optimization features. 15 |
| History kept | 14 days on Starter, 13 months on Scale, custom on Enterprise. docs | Not documented in the sources we reviewed. The docs say suggestion quality is proportional to the amount of performance data collected. 5 |
| 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 | Aiven lists ISO/IEC 27001, 27017, 27018 and 27701, an ISAE 3000 Type 2 report aligned with SOC 2 criteria, PCI DSS, HIPAA, GDPR and CCPA. 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 |
| EverSQL | AI Database Optimizer | No separate public price | Announced free for all Aiven for PostgreSQL users during early availability; not listed on the pricing page 38 |
| EverSQL | SQL Query Optimizer (web tool) | Free | Free during early availability; one pasted PostgreSQL query at a time, no database connection 6 |
| EverSQL | Aiven for PostgreSQL | From $0/month | Free $0, Developer $5, Hobbyist from $12, Startup from $75, Business from $180, Premium from $270 a month 8 |
List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. eversql.com no longer lists its own plans; its buttons lead to Aiven's free SQL Query Optimizer. The sources we reviewed do not say what happened to existing EverSQL subscriptions. PostgresAI pricing
Questions
- What happened to EverSQL?
- Aiven acquired EverSQL on November 21, 2023. In May 2024 Aiven launched AI Database Optimizer, powered by the EverSQL engine, in Aiven for PostgreSQL. eversql.com now says EverSQL is part of Aiven and links to Aiven's free SQL Query Optimizer. 132
- Does Aiven AI Database Optimizer work with Amazon RDS or self-managed Postgres?
- The continuous optimizer is documented for Aiven services. For a database elsewhere, Aiven points to the standalone SQL Query Optimizer, where you paste a query and optional schema statistics; it does not connect to the database. 567
- What does EverSQL cost now?
- Aiven announced AI Database Optimizer as free for Aiven for PostgreSQL users during early availability, and its pricing page lists no separate charge. The web SQL Query Optimizer is free during early availability. Aiven for PostgreSQL plans start at $0 a month. 368
- Does Aiven AI Database Optimizer need access to my data?
- Aiven says the optimizer gathers schema structure, database statistics and other signals without credentials or access to the data in the tables. Because slow query logs can contain sensitive values, it replaces query parameters with question marks by default. 5
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
- Aiven press release: Aiven acquires EverSQL (November 21, 2023)
- eversql.com today
- Aiven press release: Aiven AI Database Optimizer launch (May 28, 2024)
- Aiven blog: AI Database Optimizer launch
- Aiven docs: AI database optimizer for Aiven for PostgreSQL
- Aiven SQL Query Optimizer (free tool)
- Aiven docs: SQL query optimizer
- Aiven pricing: PostgreSQL
- Aiven docs: MCP server
- Aiven docs: service forking
- Aiven security and compliance
- Aiven docs: Bring your own cloud
- Aiven support services
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
- OtterTuneopen-source monitoring vs ML knob tuning (closed)
- 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