This block + 6,000 more — yours with Pro

Dashboard Query Performance

134/200
Docs
Query Performance

Slow query analysis and optimization

23 slow queries

Slow Queries

23

Avg Time

34ms

P99 Time

892ms

Execution Plan

Seq Scan on orders → Hash Join → Sort → Aggregate

Tables:users, orders
Optimization suggestion

Add composite index on orders(user_id, id). Consider materializing the count in a summary table updated via triggers.