~/talk

Indexing Internals for Developers & DBAs

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

Shows exact internals and demos: heaps always scan (example query costs 7,504 logical reads) vs a clustered seek (4 logical reads), loading a staging table drops from 65 minutes to 34 seconds by using a heap then rebuilding, rebuild itself takes 67 minutes so process changed to an incremental 5‑minute job. Uses DBCC IND/DBCC PAGE and set statistics IO to inspect pages and I/O, explains forwarding pointers, why GUID clustered keys cause splits, recommends online rebuilds, 30% fragmentation threshold, and dropping duplicate indexes that shrink a 250GB index footprint to 18GB.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:35Overview of index structures
  3. 7:09Understanding heaps
  4. 14:12Clustered indexes internals
  5. 19:51Non-clustered index concepts
  6. 22:36Indexing internals demo
  7. 29:32Heap and index performance
  8. 38:50Measuring and optimizing
  9. 47:37Conclusion and maintenance
~/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.