for user in users: user.posts.all() # 1 query → 148
One innocent loop fans out into hundreds of round-trips.
Query performance, diagnosed
Pinpoint reads your real query plans, ranks what is actually costing you milliseconds, and hands back the index or rewrite that makes it fast.
Seq Scan on order_items (rows=2.1M) Filter: (order_id = $1) Rows Removed by Filter: 2,098,400
Index Only Scan using idx_items_order Index Cond: (order_id = $1) Heap Fetches: 0
They hide behind an ORM, surface as a flat dashboard, and only bite under load. The plan already knows what's wrong. It just isn't easy to read.
for user in users: user.posts.all() # 1 query → 148
One innocent loop fans out into hundreds of round-trips.
WHERE order_id = $1 Seq Scan · cost=0..48201 Rows Removed: 2,098,400
A full scan where a single index would touch one page.
Sort Method: external merge
Disk: 184MB
ORDER BY created_at DESC
A sort that spilled to disk because it couldn't fit in memory.
Read-only connection. Nothing leaves your network without a key you hold.
Point Pinpoint at a read replica or staging DB. Postgres, MySQL, or your ORM's log stream. Two minutes, no agent on your boxes.
It samples live queries, runs EXPLAIN on the hot ones, and maps cost to wall-clock time. Seq scans, spills, and N+1 fan-outs get flagged.
You get a queue sorted by milliseconds saved, each with the exact index, rewrite, or config change and the projected new p95.
Measured, not promised
3 indexes added · 1 query rewritten · same hardware
Databases, ORMs, your CI, and the observability you watch. Pinpoint reads from where the queries already live.
Native EXPLAIN parsing for both engines, including partitioned tables and read replicas. Connects in read-only.
Maps slow SQL back to the line of code that generated it.
Fails the PR when a change adds a query that regresses p95.
Pushes flagged queries as events next to your existing traces.
A new top offender pings the channel with the suggested fix attached.
Read-only, two-minute setup, your first ranked fix in the same session. No agent on your servers.
Free on one database. No card. SOC 2 Type II.