Skip to main content

PostgresAI vs pgCustard

ASH and MCP vs proactive email alerts

pgCustard (early access, 50 EUR/database/month) runs 30s Postgres checks and sends email alerts. PostgresAI brings wait-event ASH, MCP and separate DBLab.

Connect PostgresAISee how PostgresAI Issues workWalkthrough: spike to Issue (example data)Pricing

Checked on against 9 pages of pgCustard documentation. PostgreSQL only. Markdown

Disclosure: Michael Christofides, who runs pgMustard Ltd (the maker of pgCustard), co-hosts the Postgres FM podcast with Nikolay Samokhvalov, the founder of PostgresAI; pgCustard's thanks page (https://pgcustard.com/thanks) also credits Nikolay for Postgres FM discussions.

Short answer​

pgCustard, from pgMustard Ltd, is an early-access Postgres monitoring service (50 EUR per database/month) that polls every 30 seconds, sends critical email alerts and Monday summaries, and pairs an Apache 2.0 collector with a paid hosted app. PostgresAI monitors PostgreSQL 14–18 (19 tested through RC1; GA validation in progress) with 50 default metric groups, 15s wait-event ASH with CPU* labels, derived pg_stat_statements rates, cloud host dashboards (RDS, Aurora, Supabase, ClickHouse Managed Postgres), MCP and CLI access, SOC 2 Type 2 and separate DBLab clones. Pick pgCustard for proactive email alerts and Monday summaries. Pick PostgresAI for wait-event ASH, derived query rates, MCP or separate DBLab.

When pgCustard is the better choice​

  • Built for small teams without a DBA: 30-second polling, human-written advice (no LLM generation), critical email alerts and Monday summaries.
  • Flat 50 EUR per database per month (excluding tax) during early access, with a shared Slack channel, a 30-day refund option and a 99.9% monthly uptime credit commitment.
  • Setup guides cover 16 managed services (RDS, Aurora, Cloud SQL, Supabase, Neon, ClickHouse Managed Postgres and others) plus self-managed PostgreSQL 14–19, with pg_stat_statements optional.
  • Open-source Apache 2.0 collector (pgcustard-collector) with dry-run output, verifiable image builds, and scrubbing of quoted literals and long Luhn-passing numbers.
  • Single-connection 30-second polling (~10 queries, under 100ms on 100 tables), skips locked relations during migrations, and rolls up TimescaleDB hypertables.

Where PostgresAI differs from pgCustard​

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

  1. ASH, vCPU-normalized AAS, and honest CPU* labels

    PostgresAI

    Extension-free ASH sampled every 15s (stored at 15s Helm, 30s Compose default) with query_id drill-down, 30s lock_waits blocker chains, Console vCPU-normalized 1-minute peak AAS, and CPU* labels marking uninstrumented waits (gaps.wait.events). docsdocs 2docs 3

    pgCustard

    In pgcustard-collector v0.1.2, session-counts-query counts pg_stat_activity rows by state (active, idle in transaction, idle) without reading wait_event or wait_event_type columns. 9

  2. pg_stat_statements rates & per-call metrics, incl. WAL & plan

    PostgresAI

    Collects 16 pg_stat_statements columns every 30s (top 100/DB, calls >= 3, >= 1s total), including per-query planning time and WAL records/FPI/bytes; derives dM/dt and dM/dc in Dashboards 02/03 and %M shares of the collected workload per database in daily checkups (other = collected queries outside the Top-N). docsdocs 2

    pgCustard

    In pgcustard-collector v0.1.2, top-queries-query considers up to 60 queries per database and tracks 20 (calls, exec time, rows, shared_blks_hit/read) without planning time, WAL, temp or I/O time columns. 19

  3. Open source, no license fee to self-host

    PostgresAI

    The monitoring software is open source under Apache 2.0, so self-hosting it carries no license fee. docsdocs 2

    pgCustard

    pgCustard's collector (pgcustard-collector) is Apache 2.0, while the pgCustard app is a paid subscription service (50 EUR/database/month); self-hosting requires an active subscription and must stop within 30 days when it ends. 1567

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 (illustrative Console view). How it works

Connect PostgresAISee how PostgresAI Issues workWalkthrough: spike to Issue (example data)Pricing

PostgresAI and pgCustard, side by side​

QuestionPostgresAIpgCustard
What it isPostgreSQL monitoring with scheduled health checkups. Findings can become Issues with severity, evidence and a recommended next step (not every check has an automated fix), which you, your AI agent or a PostgresAI expert can act on. docsdocs 2An early-access proactive PostgreSQL monitoring service from pgMustard Ltd. It polls every 30 seconds, runs checks with human-written advice, sends critical email alerts and Monday summaries, and includes a shared Slack channel with the pgCustard team. 128
Platforms and PG versionsYesPostgreSQL 14 through 18 (19 tested through RC1; 19.0 GA validation in progress), requiring pg_stat_statements. Covers Amazon RDS and Aurora (AWS PrivateLink on Scale for single-instance RDS; Aurora PrivateLink not yet), Google Cloud SQL, Azure, Supabase, ClickHouse Managed Postgres, Tiger Data, self-managed and Kubernetes. docsdocs 2PreviewEarly access (self-service sign-ups expected December 2026). Supports PostgreSQL 14–19 with pg_monitor or pg_read_all_stats, with pg_stat_statements optional. Setup guides cover 16 managed services (RDS, Aurora, Cloud SQL, AlloyDB, Azure, Aiven, ClickHouse Managed Postgres, Crunchy Bridge, DigitalOcean, Heroku, Neon, PlanetScale, Render, Supabase, Tiger Cloud, Xata) plus self-managed PostgreSQL. 12
Modern PG metrics (14–19)50 metric groups collected by default in release 0.18.0 (57 defined), including 9 with version-specific SQL across PG 14–19: pg_stat_io on PG 16+ (native read_bytes/write_bytes/extend_bytes on PG 18+), pg_stat_checkpointer on PG 17+, pg_stat_statements I/O split on PG 17+, pg_stat_progress_vacuum updates on PG 17+, native pg_get_multixact_stats() on PG 19, plus pg_stat_slru, xmin_horizon and blockers, table/B-tree bloat with tail totals, autovacuum queue and pg_wal size. docsdocs 2Supports PostgreSQL 14–19 and checks outdated versions, vacuum/analyze pressure, table and index bloat, and unused, redundant or invalid indexes. The pgCustard app tracks up to 200 tables and 600 indexes per database as of November 26, 2026. Collector v0.1.2 queries pg_stat_bgwriter or pg_stat_checkpointer (PG 17+), xmin blockers, deadlocks, autovacuum workers, session counts, cache hit and size; it does not query pg_stat_io or pg_stat_slru. 139
Cloud host stats (RDS, Aurora, Supabase, ClickHouse)Unified host_* CPU, memory, storage, disk read/write IOPS, throughput, latency and network stats (Dashboard 01 Host row and Dashboard 99) for Amazon RDS and Aurora (CloudWatch, optional Enhanced Monitoring, Performance Insights host_db_load, provisioned IOPS/throughput limits), Supabase primary (node_exporter) and ClickHouse Managed Postgres (PostgresServer_*). Self-managed, Helm, Cloud SQL and Azure do not emit host_* automatically. docsdocs 2The privacy policy mentions credentials for reading host metrics from a cloud provider. The collector README (v0.1.2) lists three payload categories: database statistics and the Postgres version, table and index statistics and definitions, and statistics and texts for top queries. The sources we reviewed do not document unified cloud host dashboards. 56
Hosting and data privacyYesHosted by PostgresAI, or self-hosted in your own cloud account or server. We collect database statistics, sampled waits, and normally normalized query text, not application table rows. One health check can include the first 500 characters of the raw xmin-horizon holder query by default, which can contain literals. Set postgresai.capture_query_preview=off to disable it. docsdocs 2PreviewEarly access. Hosted in Google Cloud (Finland), connecting over TLS from a static IP or via the Apache 2.0 pgcustard-collector inside your network. The collector scrubs quoted literals and any long number that passes the Luhn check before sending. The terms and privacy policy also describe a self-hosted option licensed for your organization while your subscription is active, pulling images from Google Artifact Registry. 134567
Open sourceYesThe monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. docsdocs 2PartlyThe pgcustard-collector is open source under Apache 2.0 on GitHub with verifiable image builds. The pgCustard app is a paid subscription service; self-hosting requires an active subscription and ends within 30 days after a subscription ends. 1367
pg_stat_statements & derived metricsYesCluster-wide pg_stat_statements collection every 30s (top 100/DB with calls >= 3 and exec_time_total >= 1000 ms; 16 core columns incl. per-query planning time/count and WAL records/FPI/bytes, buffers in bytes, PG 14-16 and 17+ block I/O time, temp I/O). Dashboard 02 derives dM/dt and dM/dc across exec/plan time, buffers, WAL and temp; Dashboard 03 covers single-query dM/dt and dM/dc; daily checkups compute %M share of the collected workload per database; other covers collected queries outside the Top-N. docsdocs 2docs 3PartlyTracks mean execution time overall and up to 20 top queries per database (pg_stat_statements is optional), scrubbing quoted literals and any long number that passes the Luhn check. In collector v0.1.2, top-queries-query considers up to 60 queries and reads calls, execution time, rows and shared_blks_hit/read without planning time, WAL, temp or block I/O time columns. 13469
Production EXPLAIN plansNoNot collected from production monitoring. To inspect execution plans safely, Joe runs EXPLAIN on a separately provisioned DBLab clone. docsdocs 2Not documentedThe homepage FAQ states that pgCustard is currently totally separate from pgMustard. 1
PostgreSQL log analysisNoNot supported. PostgresAI monitoring reads PostgreSQL statistics views and does not ingest PostgreSQL log files. docsNot documentedCollection reads PostgreSQL statistics views and catalogs via pg_monitor every 30 seconds. 56
Wait events, ASH, AAS & CPU*YesASH wait events sampled from pg_stat_activity every 15s (stored at 15s on Helm, 30s default scrape in Docker Compose) with no extra extension, drilling from wait_event_type to wait_event to query_id; companion lock_waits every 30s tracks blocker_pid and blocker_query_id. Active sessions with NULL wait_event are labeled CPU* (not plain CPU) to flag uninstrumented waits (gaps.wait.events). Console computes vCPU-normalized 1-minute peak/p99 AAS. docsdocs 2docs 3docs 4Not documentedIn collector v0.1.2, session-counts-query counts pg_stat_activity sessions by state every 30 seconds without reading wait_event or wait_event_type. The sources we reviewed do not document historical wait-event breakdowns (ASH), query-linked wait events or AAS. 159
Health checks and recommendationsYesDaily checkups (plus weekly Monday reviews) cover settings, autovacuum, xmin-horizon blockers, wraparound, table and index bloat, invalid/unused/redundant indexes, I/O (pg_stat_io) and top queries. Findings can become Issues with severity, evidence and a recommended next step; not every check has an automated fix. docsdocs 2PreviewEarly access. Proactive checks cover Postgres versions, vacuum and analyze pressure, table and index bloat, unused, redundant and invalid indexes, xmin-horizon blockers, WAL-forced checkpoints and deadlocks. Findings come with human-written advice and weekly Monday summaries. 12
AI and agent accessYesThe 16-tool MCP server gives Cursor, Claude Code, Windsurf and Codex access to Issues, action items, checkup reports, files and deployment; the postgresai CLI (alias pgai) adds historical PromQL queries (pgai promql) and local express checkups. docsdocs 2Not documentedProvides web views, email alerts, Monday summaries and a Markdown export of the All issues page. The sources we reviewed do not document an MCP server or CLI for AI coding agents. 123
Testing a fix before productionSeparate productRequires DBLab Engine, a separate open-source product set up and priced separately. After initial seeding onto a DBLab host, thin clones let you rehearse an index or query change on representative data. Clones share one host on copy-on-write storage, so timings should not be assumed to match production. docsdocs 2docs 3Not documentedpgCustard provides written advice, and its terms strongly recommend testing changes in a similar environment first. 17
Human PostgreSQL expertsYesScale ($512/cluster/month) includes two expert requests a month, answered within 24 business hours (not 24x7 emergency coverage). Starter includes none; either plan can buy a one-off pack of two requests for $500. Ongoing consulting is separate. docsdocs 2PreviewEarly access includes a shared Slack channel (or similar) with the pgCustard team to advise further on issues raised by pgCustard. 1
Alerts and on-call pagingNoHosted Starter and Scale send email and Slack notifications when Issues open or update — issue notifications, not a real-time on-call pager (keep your existing alerting). Self-hosted ships no bundled alert rules; users configure Grafana alerting themselves. docsdocs 2docs 3PartlySends email alerts ([CRITICAL], [RESOLVED], [IGNORED]) when critical issues appear or clear, plus weekly Monday summaries. The sources we reviewed do not document on-call paging integrations such as PagerDuty, Opsgenie or webhooks. 12
History kept14 days on Starter, 13 months on Scale, custom on Enterprise. Self-hosted retention defaults to 14 days and is configurable. Historical baselines build up over time after setup. docsdocs 2Most metrics are kept for around 100 days, and table events (such as vacuums) for 400 days. Query text, weekly summaries and alerts are kept until you remove the database. 5
Security attestationsSOC 2 Type 2 examination completed for the Security and Availability criteria, covering March 4 to June 4, 2026 for the PostgresAI Platform. The SOC 3 report is public. docsThe security page states pgCustard does not have SOC 2 or ISO 27001 certification and has not had an independent penetration test. It offers security questionnaires and a DPA with audit rights instead. Hosted in Google Cloud (Finland), with a separate per-organization KMS key for passwords and other highly sensitive data. 4

When not to pick PostgresAI (our limits)​

  • Supports PostgreSQL 14 through 18 (19 tested through RC1; 19.0 GA validation in progress) and requires pg_stat_statements.
  • Wait events are sampled every 15s from pg_stat_activity (stored at 15s on Helm, 30s default scrape in Docker Compose — not 1-second or sub-second tracing); companion lock_waits runs every 30s.
  • pg_stat_statements tracks 16 core columns for the top 100 queries per database (calls >= 3, exec_time_total >= 1000 ms), and does not yet collect local_blks_*, jit_*, wal_buffers_full, parallel_workers_*, toplevel, usename or dealloc.
  • Does not ingest PostgreSQL log files or collect production EXPLAIN plans; execution plans are rehearsed on a separately provisioned DBLab clone.
  • Starter ($16/cluster/month) covers the primary node only, keeps 14 days of history, and includes no Grafana dashboards and no expert requests. Email and Slack messages are Issue notifications, not a real-time on-call pager.
  • Metadata-only monitoring has one default exception: one health check includes the first 500 characters of the raw xmin-horizon holder query, which can contain literals. Set postgresai.capture_query_preview=off to disable it.
  • Unified host_* stats cover Amazon RDS, Aurora, Supabase (primary) and ClickHouse Managed Postgres; self-managed nodes, Helm, Google Cloud SQL and Azure do not emit host_* series automatically.

Pricing​

ProductPlanList priceNotes
PostgresAIStarter$16 per cluster/monthPrimary only, 14-day retention, no Grafana dashboards, no included expert requests
PostgresAIScale$512 per cluster/monthPrimary and up to 5 replicas in one cluster, 13-month retention, Grafana dashboards, 2 expert requests a month (24-business-hour response)
PostgresAIEnterpriseCustomContact sales
PostgresAISelf-hostedNo license feeOpen source under Apache 2.0; you run it yourself
pgCustardEarly access50 EUR per database/monthExcludes tax; cancel any time; includes shared Slack channel with the pgCustard team during early access; no free trial, full refund within 30 days of your first payment; 99.9% monthly availability credit commitment 17

List prices on 26 Nov 2026. The billing units differ, so this is not a total-cost comparison. pgCustard prices in euros per database per month (excluding tax). PostgresAI prices in US dollars per cluster per month (Scale includes primary plus up to 5 replicas). PostgresAI pricing

Using PostgresAI with pgCustard​

DBLab is a separate open-source product with its own setup that copies compatible PostgreSQL 10+ sources. A team using pgCustard can still test an index or query change on a full-size DBLab clone before production. Timings on a clone should not be assumed to match production because clones share copy-on-write storage.

Questions​

Is pgCustard generally available?
As of November 26, 2026, pgCustard is in early access by request at 50 EUR per database per month (excluding tax). Its homepage states self-service sign-ups are expected in December 2026. 17
Is pgCustard open source or self-hosted?
The collector (pgcustard-collector) is open source under Apache 2.0 on GitHub. The pgCustard app is a paid subscription service hosted in Finland. Its terms and privacy policy also describe a self-hosted option licensed for your organization while your subscription is active, pulling images from Google Artifact Registry. 567
Does pgCustard integrate with pgMustard?
No. The pgCustard homepage FAQ states that for now pgCustard and pgMustard are totally separate products. 1
How does pgCustard handle query data and security?
pgCustard scrubs quoted literals and any long number that passes the Luhn check from query text, and hosts data in Google Cloud (Finland) with per-organization KMS keys for passwords and other highly sensitive data. Its security page states it does not have SOC 2, ISO 27001 or an independent penetration test, offering security questionnaires and a DPA instead. 34
Can I use PostgresAI and pgCustard together?
Yes. DBLab is a separate open-source product with its own setup that copies compatible PostgreSQL 10+ sources, so a team using pgCustard can rehearse index or query fixes on a full-size DBLab clone before production. Timings on a clone should not be assumed to match production because clones share copy-on-write storage. docs

Set up PostgresAI monitoring​

Start in PostgresAI Console and choose “Set up with your AI agent”. For deployment options and prerequisites, use the monitoring getting-started guide.

Connect PostgresAISee how PostgresAI Issues workWalkthrough: spike to Issue (example data)Pricing

Sources​

  1. pgCustard home page
  2. pgCustard documentation
  3. pgCustard changelog
  4. pgCustard security
  5. pgCustard privacy policy
  6. pgCustard collector repository (pgmustard/pgcustard-collector v0.1.2)
  7. pgCustard terms of service
  8. About pgMustard
  9. pgCustard collector SQL queries (collect.clj v0.1.2)

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.