~/talk

The Unified Compaction Strategy in Cassandra 5

slides:none on file

Unified Compaction Strategy unifies leveled and size-tiered behavior by computing SSTable density (size divided by token share) and only compacting overlap sections of overlapping SSTables, then emitting results split by configurable shard boundaries. Example: four recent 100 MB flushes become four shards with density 400 MB; a later compaction of ~430 MB across half the token range computes eight shards but writes four outputs. A single tuning parameter trades read vs write amplification; switching to UCS shows an immediate performance gain (example: ~2× faster) and avoids full recompact on upgrade.

AI-written summary · about

  1. 0:00Introduction to compaction
  2. 2:00Current strategies in Cassandra
  3. 4:28Limitations of size and leveled
  4. 7:17Unified compaction concept
  5. 10:10Density and overlap explained
  6. 13:35UCS compaction example
  7. 18:16Shard boundaries and density
  8. 21:32Handling large datasets
  9. 22:14Performance comparison
  10. 23:42Upgrading to UCS
  11. 24:03Whole table exploration
  12. 24:46Prioritizing compactions
  13. 25:28Parameter adjustments
  14. 26:31Future adaptive compaction
  15. 26:52Time-based levels
  16. 27:54Conclusion and Q&A
~/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.