Cache-aware online compaction
The idea
The main line compacts at a finished plan step only when the estimated cache-read savings are larger than the cost to rewrite, fold and carry.
- The problem
- Compaction triggered by size wasted the cache and sometimes cost more than it saved.
- Why it matters
- Compaction happens only when it pays, and each decision is recorded.
- Where it stands
- In production as of
A step-by-step replay of this idea is not published yet. The library adds one when a recorded run shows it.