View definition

(Options).CompactionTableSize

Defined in github.com/syndtr/goleveldb/leveldb/opt/options.go

Description

CompactionTableSize limits size of 'sorted table' that compaction generates. The limits for each level will be calculated as:

CompactionTableSize * (CompactionTableSizeMultiplier ^ Level)

The multiplier for each level can also fine-tuned using CompactionTableSizeMultiplierPerLevel.

The default value is 2MiB.