~/talk

Should We Defragment Indexes?

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

Argues that defragmenting indexes can harm throughput on VM/cloud storage because forcing pages into sequential order concentrates them on a single capacity device and controller, reducing parallel I/O; leaving external fragmentation can let pages stay striped across multiple controllers and be faster. Explains rebuild vs reorg (rebuild creates a new index and can change fill factor; reorg only fixes order), notes internal fragmentation still hurts memory/optimizer, and recommends benchmark first and check actual storage topology.

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.