ModulesΒ§
- buckets π
- compactor
- memory_
manager - picker
- run
- This file contains code to find sorted runs in a set if ranged items and along with the best way to merge these items to satisfy the desired run count.
- task π
- twcs π
- window π
StructsΒ§
- Compaction
Output - Compaction
Request - Region compaction request.
- Compaction
Scheduler π - Compaction scheduler tracks and manages compaction tasks.
- Compaction
SstReader πBuilder - Builders to create BoxedBatchReader for compaction.
- Compaction
Status π - Status of running and pending region compaction tasks.
- Pending
Compaction π - Pending compaction request that is supposed to run after current task is finished, typically used for manual compactions.
- Serialized
Compaction Output - SerializedCompactionOutput is a serialized version of CompactionOutput by replacing FileHandle with FileMeta.
FunctionsΒ§
- estimate_
compaction_ πbytes - Estimates compaction memory as the sum of all input filesβ maximum row-group uncompressed sizes.
- find_
ttl π - Finds TTL of table by first examine table options then database options.
- get_
expired_ πssts - Finds all expired SSTs across levels.
- time_
range_ πto_ predicate - Converts time range to predicates so that rows outside the range will be filtered.
- ts_
to_ πlit