Skip to main content

Module segment

Module segment 

Source
Expand description

Single-segment compaction: drop deleted rows from one segment, write a new one.

Structs§

CompactionResult
Result of a compaction operation.

Constants§

DEFAULT_DELETE_RATIO_THRESHOLD
Default compaction threshold: compact when >20% of rows are deleted.

Functions§

compact_segment
Compact a single segment by removing deleted rows.