~/talk

Should We Defragment Indexes?

Talkat SQLBits 2019 · 2019-02-27..03-02· [databases]
links:none on file
slides:none on file

Argues that defragmenting indexes for external fragmentation can hurt throughput on VM/hypervisor storage that uses an SSD cache fronting capacity devices because a rebuild or reorg can push all index pages onto a single capacity device and controller, reducing parallel I/O; demonstrates with a card game split across 4 controllers where distributed pages are faster to read. Explains rebuild vs reorg (rebuild creates a new index, reorg fixes order), notes internal fragmentation still matters for page count and optimizer decisions, and urges checking storage topology and benchmarking.

AI-written summary · about

  1. 0:00Introduction to maintenance
  2. 1:43Internal vs external fragmentation
  3. 3:32Reorgs vs rebuilds
  4. 5:26Impact on storage architecture
  5. 8:56The controller analogy
  6. 9:44Conclusion of main talk
  7. 10:47Q&A session
  8. 19:04Closing remarks
~/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.