The lab sends 100 writes a tick into a memtable of 200 entries. The bars show the sorted files on disk by level. Below them are write, read and space amplification, and two charts that follow them as the store grows.
Leveled compaction keeps one file per level, and each level is a multiple of the one above. Tiered compaction lets several files of a similar size gather, then merges them all. The size ratio sets the multiple, or how many files gather.
Predict before you press play
writes 20,000 of 40,000Leveled ratio 410,000 distinct keys
Sorted runs on disk
Level 1: 1 run of 779 entries.
Level 2: 1 run of 2,622 entries.
Level 3: 1 run of 7,997 entries.
Each bar is one sorted file, drawn in proportion to its entries. Newer data sits in the upper levels.
write amplification
7.1x
read amplification
2.5 runs
worst miss
3 runs
space amplification
1.31x
compactions
122
flushes
99
Entries written to disk per user write
Entries written to disk per user write (x against writes)
Series
Latest
Lowest
Highest
write amplification
7x
0x
8x
Runs on disk, and stored entries per live key
runs
space amplification
Runs on disk, and stored entries per live key (runs, x against writes)