Struct lsm_tree::compaction::SizeTiered
source · pub struct SizeTiered { /* private fields */ }
Expand description
Size-tiered compaction strategy (STCS)
If a level reaches a threshold, it is merged into a larger segment to the next level.
STCS suffers from high read and temporary space amplification, but decent write amplification.
More info here: https://opensource.docs.scylladb.com/stable/cql/compaction.html#size-tiered-compaction-strategy-stcs
Trait Implementations§
source§impl CompactionStrategy for Strategy
impl CompactionStrategy for Strategy
Auto Trait Implementations§
impl RefUnwindSafe for Strategy
impl Send for Strategy
impl Sync for Strategy
impl Unpin for Strategy
impl UnwindSafe for Strategy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more