Plan regressions
A stale estimate flips an index scan to a seq scan. Same query, 40× the rows read, no error thrown.
Query-level traces, plan regressions and pool health in one console. Drop in the agent, start reading in minutes.
| query | calls | p99 | status |
|---|---|---|---|
| SELECT … FROM orders JOIN line_items | 18,204 | 1,842ms | seq scan |
| UPDATE inventory SET qty = qty - $1 | 9,671 | 612ms | lock wait |
| SELECT … FROM users WHERE email = $1 | 142,908 | 3.1ms | index |
| SELECT count(*) FROM events WHERE … | 2,410 | 488ms | no index |
By the time p99 shows up in your APM, the plan already regressed, a lock already queued, and connections already piled up. The database is a black box until it isn't.
A stale estimate flips an index scan to a seq scan. Same query, 40× the rows read, no error thrown.
One long UPDATE holds a row lock while a stampede of writers waits behind it. Latency you can't reproduce locally.
Traffic spikes, the pool saturates, new requests block on a connection instead of the query. The DB is fine; the pool isn't.
Trace, plan, and pool on one timeline, so cause and symptom line up on the same second.
Query → plan → pool, each drillable to the individual statement.
Per-query p50/p95/p99, call counts and rows read, sampled from the wire, not guessed from logs.
pgpulse fingerprints each plan and alerts when the planner switches strategy or an index goes cold.
Current p99 on your slowest endpoint. pgpulse traced it to a single seq scan in under a second.
No proxy, no query rewriting. pgpulse reads pg_stat_statements and the wire protocol from a sidecar. Works with RDS, Aurora, Cloud SQL and self-hosted 12+.
One container next to your app, read-only DB role.
Env var in, traces stream out. No app code changes.
Slow queries, plans and pool health, live.
# one command, read-only role docker run pgpulse/agent \ -e DSN=$DATABASE_URL \ -e PGPULSE_KEY=pk_live_…
The agent uses a read-only role and never captures query parameters. Metrics ship out; your rows stay put.
Free for one database. No card, no sales call.
Trusted on 2,400+ production databases.