Skip to content
Start free

Read-only demo.One recorded hour of Querywake's lab: PostgreSQL 17 under pgbench, where the index behind a customer lookup was dropped and later restored. Nothing here comes from a customer database.

orders-demoActive

labPostgreSQL 17Recorded
Mean execution time2.47 ms
Total execution time7.9 min
Calls191.3k
Statements8window fully collected

Where the time goes

Top statements by total execution time, 1h.

StatementShareMean
select count(*), sum(amount) from bench.orders where customer_id = $197%4.87 ms
select id, status, amount from bench.orders where id = $13%0.15 ms
other statement (text not collected)0%0.263 ms
other statement (text not collected)0%0.96 ms
other statement (text not collected)0%0.093 ms
other statement (text not collected)0%0.183 ms
other statement (text not collected)0%0.984 ms
other statement (text not collected)0%0.086 ms

Incidents in this window

Open the incident
  • CriticalMore execution timeExpired ·
  • CriticalSlower executionsResolved ·

Workload

Rates per second of collected time in 30 s buckets. Shaded spans are incidents; gaps are missing data.

Mean execution time per call

Σ execution time ÷ Σ calls; a weighted mean, not a percentile

Execution time per second

Milliseconds of statement execution per wall-clock second

Calls per second

Shared buffer misses

Blocks not found in shared buffers; the OS cache may still serve them

Sessions and transactions

Gauges are bucket maxima of sampled values.

Sessions

pg_stat_activity client backends

Waiting on locks

1 h window ending · 30 s buckets · Querywake lab: PostgreSQL 17 under pgbench (benchmarks/scenarios/lookup.sql, point.sql); index bench.orders_customer_idx dropped and restored. Recorded 2026-12-01.