~/talk

Storage Attached Indexes for Cassandra (CEP-7)

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

Storage Attached Indexes (CEP-7) land in Cassandra 5 as per-sstable and per-memtable index files that attach to Memtable and SSTable so indexes share lifecycle with SSTables and stay consistent; literal columns use a trie for strings and numeric columns use a KD-like numeric tree, with a shared per-SSTable component mapping rowIDs to tokens and primary keys. SAI supports range queries on numerics, multi-index intersections, collections and map keys/values, does synchronous index build on compaction, post-filters tombstone false positives, recommends ~10 indexes per table, shows single-node reads in tens of thousands/sec, ranges in thousands, intersections in hundreds, typical latencies <20ms and ~10% extra heap.

AI-written summary · about

  1. 0:00Storage Attached Indexes intro
  2. 1:47Problems with existing indexes
  3. 3:57Legacy and SASI limitations
  4. 4:39Introducing SII Search
  5. 5:42Querying SII on multiple columns
  6. 6:45Range queries and collections
  7. 9:19SII physical implementation
  8. 10:43SII consistency and lifecycle
  9. 12:56SII write path and compaction
  10. 14:20Performance and compaction impact
  11. 15:46SII read path and retrieval
  12. 16:32Post-filtering and tombstones
  13. 17:17Querying columns and merging
  14. 19:27Skip operations for intersections
  15. 20:09SII data structures
  16. 21:55Row ID to primary key
  17. 22:38SII compression and encoding
  18. 24:07Storage efficiency gains
  19. 25:12Benchmarking SII metrics
  20. 26:17Future SII enhancements
  21. 28:13Q&A on performance
  22. 29:16Memory impact and hardware
  23. 30:55Vector search directions
~/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.