Skip to content

Querywake and PostgresAI

Both monitor PostgreSQL with a read-only role and pg_stat_statements. PostgresAI monitoring is an open-source stack you can run yourself or have PostgresAI host, with broad health checks, wait events and bloat analysis, made to be driven by coding agents. Querywake is narrower: it looks for statements that got slower, explains the likely causes with the evidence for and against each, and has a permanent Free plan.

Checked

PostgresAI's public pricing, monitoring pages and README on . Both products change; check the sources below.

Who wrote this

Querywake, one of the two products compared.

Side by side

AspectQuerywakePostgresAI
PricingFree for 1 database, no card, no expiry. Paid Developer $19, Pro $49, Team $99 per month per workspace; yearly billing available.Starter $16 per cluster per month (primary only); Scale $512 per cluster per month (primary and up to five replicas, two expert requests a month); Enterprise by quote
Free planYes, permanent, one databaseNo hosted free plan; a free health checkup without a card, and the self-hosted monitoring stack is open source
Metric historyFree 1 day of metrics and 7 days of incidents; up to 90 days of metrics on paid plans14 days (Starter), 13 months (Scale)
Collection frequencyStatement statistics every 5 minutes on Free, down to every 15 seconds on paid plansMost metrics every 30 seconds, sessions and wait events every 15 seconds, bloat estimates every 2 hours
PostgreSQL versionsPostgreSQL 14–19 in analysis. The public collector supports PostgreSQL 14–19.14 to 18; 19 validation in progress
CollectorOpen-source, read-only, runs next to PostgreSQL with a pg_monitor role; no superuserOpen-source (Apache 2.0) stack with a read-only postgres_ai_mon role; setup also creates a postgres_ai schema and pg_stat_statements
Self-hosted optionNoYes, the open-source stack on your own Linux host with Docker, no account needed
Main outputRegression incidents per statement, each with evidence for, evidence against and what could not be observedIssues opened by PostgresAI, daily health checkups and a weekly review; Grafana dashboards on Scale
Index adviceIn the Query Advisor on paid plansUnused, redundant, invalid and bloated indexes
VACUUM and maintenanceWraparound safety on Free; wraparound, vacuum and statistics findings on paid plansTable and index bloat, autovacuum queue, dead tuples, xmin horizon holders and wraparound risk
Managed providersSetup guides for Neon, Supabase, RDS and others, written from provider documentation and not yet verified by QuerywakeSelf-managed, Kubernetes, RDS, Aurora, Cloud SQL, Azure, Supabase, ClickHouse Managed Postgres and TigerData listed
Query text and parametersQuery text off by default; when on, normalized with literals replaced; parameter values never collectedNormalized query text, no parameter values; by default one health check sends the first 500 characters of the query holding the xmin horizon as written, which can be turned off
Language modelsNone in the analysis; AI agents can read results over MCP on paid plansBuilt for coding agents: an MCP server, a CLI and an agent skill; human expert requests on Scale
ComplianceNo certification or external auditSOC 2 Type 2

Where PostgresAI is stronger

  • Self-hosting: the monitoring stack is open source and runs on your own host without an account.
  • Health checks: bloat, autovacuum, xmin horizon, wraparound and index findings, plus wait events per query and lock waits with the blocking process.
  • History and replicas: 13 months on Scale, covering a primary and up to five replicas.
  • Managed providers: RDS, Aurora, Cloud SQL, Azure and Supabase are listed. Querywake has not yet verified collector setup on any managed provider.
  • A SOC 2 Type 2 report, and human expert requests on Scale.

Where Querywake differs

  • It separates a statement that got slower per execution from one that simply runs more often, and opens an incident only for the change, compared against the statement's own baseline.
  • Each cause is ranked by fixed rules and shown with what supports it, what contradicts it and what the telemetry cannot see. No probability is invented.
  • It compares execution plans you upload, and on paid plans reads auto_explain output, without ever running EXPLAIN on your server.
  • Query text is off unless you turn it on, and literal values are never sent.
  • The hosted Free plan does not expire, and paid plans are priced per workspace rather than per cluster.

It is not real time: it compares windows of collected statistics and needs about an hour of history before it can detect a regression.

Which to choose

If you want an open-source stack you host yourself, broad health checks across a cluster with replicas, or a SOC 2 report, PostgresAI covers more today. If you want to know which statements got slower and why, on a self-hosted or Docker PostgreSQL, and want to start hosted without a card, try Querywake on one database.

Start free, open the read-only demo or read what Querywake can access.