Compaction priority is an option in RocksDB that determines the next
file to select for compaction. Here I show the impact of this
option on the amount of storage writes while running
Linkbench. The right value can reduce the amount of data written
to storage which improves storage efficiency and can make an SSD
device last longer.
The Linkbench schema has 3 tables with 4 indexes. Each of …