Ideally, we could evaluate heuristics on:
- Write amplification
- We have existing data in
Metrics
.
- We have existing data in
- Space amplification
- At the end of a test, we could manually
Compact(_, _)
the entire key space and measure the change in sum of alls stables. - Measuring the size of the database's active files at consistent points in the same workload can give us a relative measure of space amplification (eg, this heuristic amplified by x additional bytes), but not an amplification factor.
- At the end of a test, we could manually
- Read amplification
- Point read amplification
- How many files are in L0?