~/talk

Columnstore Index Compression in a Nutshell

Talkat SQLBits 2022 · 2022-03-08..03-12· [data-engineering]
links:none on file
slides:none on file

Explains how SQL Server columnstore compresses by treating each column as a segment per row group (up to 2^20 ≈ 1M rows), then applying three steps: dictionary/value encoding, vertipack reordering for run‑length or bit‑array compression, and final xVelocity compression; shows DMV queries (sys.column_store_segments, sys.column_store_dictionaries) to inspect dictionaries, base/magnitude for value encoding, and which segments lack optimization; warns about a 16 MB dictionary limit and reports real-world compressions of 10–100+:1 and when rebuilds are required.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 1:00Columnstore index basics
  3. 2:43Fundamentals of compression
  4. 3:56Dictionary encoding process
  5. 5:57Value encoding
  6. 7:48Vertipaq optimization
  7. 10:01Physical compression methods
  8. 12:30Optimizing for compression
  9. 14:55DMV monitoring demonstration
  10. 18:33Conclusion 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.