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-demo
2.47 ms
7.9 min
191.3k
8
Where the time goes
| Statement | Share | Mean |
|---|---|---|
| select count(*), sum(amount) from bench.orders where customer_id = $1 | 97% | 4.87 ms |
| select id, status, amount from bench.orders where id = $1 | 3% | 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
- Slower executions
- More execution time
- Slower executions