~/talk

Indexing Internals for Developers & DBAs

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

Deep dive into SQL Server index behavior with live DBCC demos showing how DBCC IND/DBCC PAGE reveal IAM pages, RID lookups and forwarding pointers; heap scans read everything (example: heap scan = 7,504 logical reads vs clustered seek at 4 reads). Real outcomes: staging load drops from 65 minutes to 34 seconds as a heap (but index rebuild was 67 minutes, leading to an incremental staging pattern), and cleaning duplicate indexes shrinks a 250 GB table to 18 GB. Uses SET STATISTICS IO/TIME, query store, DMVs and rebuild/reorganize rules (rebuild when fragmentation >30%).

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.