Type Alias lsm_tree::compaction::Leveled

source ·
pub type Leveled = Levelled;
Expand description

Alias for Levelled

Aliased Type§

struct Leveled {
    pub l0_threshold: u8,
    pub target_size: u32,
}

Fields§

§l0_threshold: u8

When the number of segments in L0 reaches this threshold, they are merged into L1

Default = 4

Same as level0_file_num_compaction_trigger in RocksDB

§target_size: u32

Target segment size (compressed)

Default = 64 MiB

Same as target_file_size_base in RocksDB