~/talk

Compaction for All! Unified Compaction Strategy in Cassandra 5.0 (CEP-26)

Talkat Cassandra Summit 2023 · on Tuesday, 2023-12-12· at 15:00· LL20C (Lower Lobby Level)· [databases]
slides:none on file

Cassandra 5.0 introduces Unified Compaction Strategy (UCS) that replaces LCS/STCS with a single density-based sharding approach: SSTable density (size/token fraction) drives level promotions, shards and compaction selection, producing examples like 430 Mebit overlap becoming eight shards and two 135MB + two 80MB outputs. UCS is configurable per-level (w values map to legacy L10 or STCS), parallelizes compaction across shard token ranges, is stateless so a strategy change avoids a full rewrite, and reduces space, read and write amplification in practice.

AI-written summary · about

  1. 0:00Introduction to compaction
  2. 1:23Challenges in data storage
  3. 4:15Legacy compaction strategies
  4. 8:37Unified compaction strategy
  5. 12:21Deep dive into UCS mechanics
  6. 21:10Sharding and performance
  7. 27:25Example of compaction steps
  8. 31:44Comparison and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.