~/talk

Indexing Internals for Developers & DBAs

Talkat SQLBits 2024 · 2024-03-19..03-23· [databases]
links:none on file
slides:none on file

Covers how heaps, clustered and non‑clustered indexes behave with concrete measurements and fixes: uses DBCC IND/DBCC PAGE, DMVs, Query Store, set statistics IO/time and drop clean buffers. Shows a staging load cut from 65 minutes to 34 seconds but rebuild costs 67 minutes so the final solution is incremental loads totaling ~5 minutes. Demonstrates a heap scan costing 7,504 logical reads -> clustered seek at 4 reads, finds duplicate indexes and shrinks a 250 GB index set to 18 GB.

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.