Skip to main content

PostgresAI vs Supabase advisors

history and wait events vs built-in lints

Supabase advisors run security, performance and health checks on every project. PostgresAI keeps 13 months of history on Scale and adds a wait event dashboard.

See plans and pricingOpen the live demoTalk to us

Checked on against 16 pages of Supabase advisors documentation. PostgreSQL only. Markdown

Disclosure: PostgresAI has a Supabase integration: the PostgresAI Console can connect to Supabase projects and set up monitoring for them.

Where PostgresAI is ahead of Supabase advisors​

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

  1. 13 months of history

    PostgresAI

    Scale keeps 13 months of history. docs

    Supabase advisors

    Supabase reports cover up to 24 hours on Free, 7 days on Pro and 28 days on Team and Enterprise. Logs are kept 1, 7, 28 and 90 days on those plans. 57

  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

    Supabase advisors

    Supabase branches are separate environments for testing changes. New branches start with no data by default; data comes from a seed file or the Include data option, and branch creation in the Dashboard is in beta. 12

  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

    Supabase advisors

    A Supabase detection check reads wait events from a current pg_stat_activity snapshot of long-running or blocked sessions, and cannot reconstruct sessions that ended between runs. The sources we reviewed do not describe wait event history. 16

Short answer​

Supabase advisors are deterministic checks that ship with the Supabase platform: security and performance lints from the open-source splinter project, health checks on error rates, and a Query Performance report with index_advisor. Agents reach them through the Supabase MCP server, CLI and Management API. PostgresAI monitoring supports Supabase and runs on the same database, adding wait event history, scheduled checkups turned into Issues, 13-month retention on Scale and human experts. Keep the advisors on; add PostgresAI if you want longer history, wait events or expert help, or one tool across several providers.

When Supabase advisors is the better choice​

  • Included with the platform: the advisors are deterministic checks that ship with Supabase, with nothing to install or pay for separately.
  • Security lints for Supabase's API layer, such as RLS disabled in public, tables exposed through pg_graphql and SECURITY DEFINER functions callable by anon or authenticated users.
  • Agent access in several forms: get_advisors in the Supabase MCP server, supabase db advisors in the CLI, the Management API, and a documented hourly read-only agent for performance.
  • The Query Performance report links slow queries to index_advisor, which suggests CREATE INDEX statements for a query; it builds on the hypopg extension.
  • splinter and index_advisor are open source under the PostgreSQL License, and the Postgres best practices agent skill is for Postgres running anywhere.
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 Supabase advisors, side by side​

QuestionPostgresAISupabase advisors
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 2Security, Performance and Health advisors in Supabase Studio, a Query Performance report with index_advisor, and an AI Assistant in the Dashboard for SQL, schema design, error debugging and RLS policies (its feature page says public alpha). 1541011
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. docsPartlySupabase projects. The index_advisor extension and the Postgres best practices agent skill are documented for Postgres outside Supabase; index_advisor needs hypopg. 191413
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 2PartlyPart of the Supabase platform. Supabase can be self-hosted with Docker, but the self-hosting guide lists advanced metrics beyond logs among features not available, and does not say whether the advisors are included. 113
Open sourceYesThe monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. docsdocs 2Yessplinter, the lint queries behind the advisors, and index_advisor are open source under the PostgreSQL License. 89
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 2YesThe Query Performance report gives a detailed analysis of slow queries, and index_advisor is opened from it per query. The CLI adds supabase inspect db commands such as outliers, cache-hit and unused-indexes, and most of them work on any Postgres database. 5415
Wait event analysisYesAn ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. docsPartlyThe performance detection check reads wait_event_type, wait_event and blocking PIDs from a current pg_stat_activity snapshot for long-running or blocked sessions; Supabase notes it cannot reconstruct sessions that ended between runs. The sources we reviewed do not describe wait event history. 163
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 2YesLints include unindexed foreign keys, missing primary keys, unused and duplicate indexes, table bloat, disabled autovacuum, RLS initplan and multiple permissive policies, plus security lints and health checks on API, Auth, Storage and Edge Function error rates. 1
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 2YesThe Supabase MCP server has get_advisors, query_logs and execute_sql, with a read_only mode. A documented hourly agent uses get_advisors and read-only execute_sql to report performance findings; it does not create indexes or cancel sessions. 23
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 2PartlyBranches are separate Supabase environments for testing. New branches start with no data by default; data comes from a seed file or the Include data option, and branch creation in the Dashboard is in beta. 12
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 2PartlySupport by plan: community on Free, email on Pro, priority email with SLAs on Team, 24x7x365 enterprise support on Enterprise. The sources we reviewed do not describe PostgreSQL consulting. 7
AlertsEmail and Slack alerts on Starter and Scale. docsThe Metrics API, in beta, exposes about 200 Postgres series to scrape once a minute into Grafana or another tool, where you build alerting policies such as saturation detection and index regression. The documented agent prompts report findings in your agent harness. The sources we reviewed do not describe advisor email notifications. 631
History kept14 days on Starter, 13 months on Scale, custom on Enterprise. docsReport time ranges: 24 hours on Free, 7 days on Pro, 28 days on Team and Enterprise. Logs are kept 1, 7, 28 and 90 days on Free, Pro, Team and Enterprise. 57
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 page lists SOC 2 and ISO 27001 as included on Team and Enterprise, and HIPAA as a paid add-on on those plans. 7

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
Supabase advisorsFree$0/monthAdvisors ship with the platform; 1-day log retention, reports up to 24 hours, community support 715
Supabase advisorsProFrom $25/month$10/month compute credits, 7-day log retention, email support 7
Supabase advisorsTeamFrom $599/month28-day log retention, SOC 2 and ISO 27001, priority email support and SLAs 7
Supabase advisorsEnterpriseCustom90-day log retention, 24x7x365 enterprise support 7

List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. These are Supabase platform plans; the advisors are not sold separately. PostgresAI pricing

Using PostgresAI with Supabase advisors​

PostgresAI monitoring supports Supabase, so it runs on the same project while the Supabase advisors stay on in Studio and through MCP. PostgresAI adds wait events, scheduled checkups as Issues, longer history and expert help; DBLab can copy a Supabase database with dump and restore to test a fix on full-size data.

Questions​

What do Supabase advisors check?
Security lints such as RLS disabled in public tables and exposed SECURITY DEFINER functions, performance lints such as unindexed foreign keys, unused or duplicate indexes and table bloat, and health checks on API and Auth error rates. 1
Can an AI agent read Supabase advisors?
Yes. The Supabase MCP server has a get_advisors tool for security and performance findings, and Supabase documents an hourly read-only agent for Claude, Codex and Cursor that reports new performance findings. 23
Are Supabase advisors open source?
The lint queries come from splinter and index recommendations from index_advisor, both open source under the PostgreSQL License. 89
Can I use PostgresAI and Supabase advisors together?
Yes. PostgresAI monitoring supports Supabase and runs alongside the built-in advisors. It adds wait event history, scheduled checkups as Issues, 13-month retention on Scale and expert requests. 1

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. Supabase docs: advisors
  2. Supabase docs: Supabase MCP server
  3. Supabase docs: automate performance checks with agents
  4. Supabase docs: index_advisor
  5. Supabase docs: reports
  6. Supabase docs: metrics
  7. Supabase pricing
  8. splinter repository
  9. index_advisor repository
  10. Supabase blog: AI Assistant v2
  11. Supabase AI Assistant
  12. Supabase docs: branching
  13. Supabase docs: self-hosting
  14. Supabase docs: agent skills
  15. Supabase docs: inspect the database
  16. Supabase docs: detection checks

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.