Skip to content

Querywake and Datadog Database Monitoring

Both read pg_stat_statements through an agent next to the database. Datadog Database Monitoring is part of a large observability platform, with high-resolution query metrics, long history, continuous execution plans and support for most managed providers. 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

Datadog's public price list and Database Monitoring documentation on , for PostgreSQL only. Both products change; check the sources below.

Who wrote this

Querywake, one of the two products compared.

Side by side

AspectQuerywakeDatadog DBM
PricingFree for 1 database, no card, no expiry. Paid Developer $19, Pro $49, Team $99 per month per workspace; yearly billing available.Database Monitoring $70 per database host per month billed annually, $84 month to month or on demand
Free planYes, permanent, one databaseNone listed for Database Monitoring; the pricing page offers a free trial
Metric historyFree 1 day of metrics and 7 days of incidents; up to 90 days of metrics on paid plansQuery metrics 15 months, query samples 15 days
Collection frequencyStatement statistics every 5 minutes on Free, down to every 15 seconds on paid plansQuery metrics every 10 seconds by default
PostgreSQL versionsPostgreSQL 14–19 in analysis. The public collector supports PostgreSQL 14–19.9.6 to 18
CollectorOpen-source, read-only, runs next to PostgreSQL with a pg_monitor role; no superuserThe Datadog Agent connects to each database host as a datadog user with pg_monitor; setup adds a datadog schema and helper functions in every database, run as a superuser or similar
Main outputRegression incidents per statement, each with evidence for, evidence against and what could not be observedQuery metrics, query samples, explain plans and recommendations, with alerts on anomalies, inside Datadog
Execution plansNever runs EXPLAIN. Compares plans you upload (every plan); paid plans also read auto_explain output from PostgreSQL's jsonlogCollected continuously for a sample of running queries through a datadog.explain_statement function that runs EXPLAIN (FORMAT JSON) in a read-only transaction; auto_explain with log collection adds EXPLAIN ANALYZE
Index adviceIn the Query Advisor on paid plansRecommendations include missing and unused indexes
Log analysisPostgreSQL log events from jsonlog files on paid plansOptional PostgreSQL log collection; needed for auto_explain plans
Managed providersSetup guides for Neon, Supabase, RDS and others, written from provider documentation and not yet verified by QuerywakeSetup guides for RDS, Aurora, Cloud SQL, AlloyDB, Azure, Heroku, Supabase and Databricks Lakebase, besides self-hosted
Query text and parametersQuery text off by default; when on, normalized with literals replaced; parameter values never collectedQueries normalized and all bind parameters obfuscated before they are sent; schema names, query comments and collected logs are not obfuscated

Where Datadog is stronger

  • Resolution and history: query metrics every 10 seconds, kept for 15 months.
  • Execution plans for a sample of running queries, collected continuously without any upload.
  • Recommendations for missing and unused indexes.
  • Managed providers: documented setup for RDS, Aurora, Cloud SQL, AlloyDB, Azure, Heroku and Supabase. Querywake has not yet verified collector setup on any managed provider.
  • PostgreSQL back to 9.6, and the database next to the rest of what you already monitor in Datadog.

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.
  • Setup is one pg_monitor role. Querywake creates no schema or functions in your databases, never runs EXPLAIN on your server and never collects parameter values. Query text is off unless you turn it on.
  • The Free plan does not expire, and paid plans are priced per workspace rather than per database host.

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 already run Datadog, need execution plans and long history across many hosts or managed providers, Database Monitoring fits next to what you have. If you want to know which statements got slower and why, on a self-hosted or Docker PostgreSQL, without adding objects to your databases or a per-host bill, try Querywake on one database.

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