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
Who wrote this
Side by side
| Aspect | Querywake | Datadog DBM |
|---|---|---|
| Pricing | Free 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 plan | Yes, permanent, one database | None listed for Database Monitoring; the pricing page offers a free trial |
| Metric history | Free 1 day of metrics and 7 days of incidents; up to 90 days of metrics on paid plans | Query metrics 15 months, query samples 15 days |
| Collection frequency | Statement statistics every 5 minutes on Free, down to every 15 seconds on paid plans | Query metrics every 10 seconds by default |
| PostgreSQL versions | PostgreSQL 14–19 in analysis. The public collector supports PostgreSQL 14–19. | 9.6 to 18 |
| Collector | Open-source, read-only, runs next to PostgreSQL with a pg_monitor role; no superuser | The 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 output | Regression incidents per statement, each with evidence for, evidence against and what could not be observed | Query metrics, query samples, explain plans and recommendations, with alerts on anomalies, inside Datadog |
| Execution plans | Never runs EXPLAIN. Compares plans you upload (every plan); paid plans also read auto_explain output from PostgreSQL's jsonlog | Collected 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 advice | In the Query Advisor on paid plans | Recommendations include missing and unused indexes |
| Log analysis | PostgreSQL log events from jsonlog files on paid plans | Optional PostgreSQL log collection; needed for auto_explain plans |
| Managed providers | Setup guides for Neon, Supabase, RDS and others, written from provider documentation and not yet verified by Querywake | Setup guides for RDS, Aurora, Cloud SQL, AlloyDB, Azure, Heroku, Supabase and Databricks Lakebase, besides self-hosted |
| Query text and parameters | Query text off by default; when on, normalized with literals replaced; parameter values never collected | Queries 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.
Sources
- www.datadoghq.com/pricing/list/
- docs.datadoghq.com/database_monitoring/
- docs.datadoghq.com/database_monitoring/setup_postgres/
- docs.datadoghq.com/database_monitoring/setup_postgres/selfhosted/
- docs.datadoghq.com/database_monitoring/data_collected/
- docs.datadoghq.com/database_monitoring/query_metrics/
- docs.datadoghq.com/database_monitoring/recommendations/
- Querywake: Pricing, setup guide and security overview.