Skip to main content

Module pruning

Module pruning 

Source
Expand description

Multi-level segment pruning pipeline.

Eliminates segments from query processing before any data is decoded:

  1. Time pruning — Exclude segments whose time range doesn’t overlap
  2. Bloom pruning — Exclude segments that don’t contain the series key
  3. Stats pruning — Exclude segments where column statistics exclude the predicate

Structs§

PrunedSegment
A segment that survived pruning, with its catalog entry and file path.
PruningResult
Result of the pruning pipeline: surviving segment entries and statistics.
PruningStats
Statistics about segment pruning during query execution.

Functions§

prune_entries
Prune a pre-filtered set of segment entries through bloom and stats levels.
prune_segments
Run the multi-level pruning pipeline.