PostgreSQL slow-query analysis, hosted

Slow queries, found.

Point pgsenpai at a PostgreSQL database and read the report.

Start an analysis Free during the beta. Already signed up? Log in.
A plug meeting a database cylinder

1. Connect

Paste a connection string for Supabase, Neon, RDS, Cloud SQL, Azure, Heroku or any server reachable over the network. The password is used once and never stored.

A bar chart with the tallest bar highlighted

2. Rank

The slowest statements are read from pg_stat_statements, or from your own ranking query, and filtered by call count and mean time.

A document with a magnifying glass

3. Read the report

Execution plans, index and table statistics, PEV2 plan viewers and ready-made AI prompts, in one self-contained HTML report you can download.

Works with the whole PostgreSQL ecosystem

Self-managed servers, Supabase, Neon, Amazon RDS and Aurora, Google Cloud SQL, Azure Database, Heroku Postgres, DigitalOcean, Render, Railway, Aiven, Crunchy Bridge and Timescale. Read-only throughout: the analysis only ever runs SELECT, EXPLAIN and catalogue queries.

Prefer the command line? The same engine ships as the pgqa tool and runs anywhere psql does.

Make it yours

Twenty design principles, two themes each. Pick one after signing up or browse the gallery.