Lessons from Optimizing Citus Queries at Heap
summary
Heap uses confidence intervals to prove performance changes are real, not noise, and turns index-only scans into real wins by either including the expression in the index or by creating a matching partial index that yields a 2x P90 win on a real query. A metadata bug during a distributed schema migration breaks ingestion; recovery uses simple SQL to replay rows from audit tables into the coordinator mapping so production stays running.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:26Performance challenge @ Heap
- 3:22Define confidence intervals & apply to experiments
- 8:18How to get index-only scans on column expressions
- 14:17Use audit tables to identify problems
- 22:00Recap
related talks
38mAccelerating Query Performance in CrateDB
01h 09mDesigning the Right Schema to Power Heap
53mIndexing Internals for Developers & DBAs
53mIndexing Internals for Developers & DBAs
50mImproving Postgres' Efficiency
31mMove Less, Move Faster: Speeding Up Citus Cluster Scaling
26mWhere do the performance cliffs come from?
23mWhen ms matter: Maximizing query performance in CrateDB
