~/talk

A Rocket Scientist Perspective on Index Column Selection

Talkat SQL Server Virtual Conference 2021 · on Friday, 2021-01-29· [databases]
name:Mike Byrd
links:none on file
slides:none on file

Walks through hands-on demos against AdventureWorks2017 big using provided scripts and execution plans to prove index column order matters: a 26 MB nonclustered covering index drops a query from ~29,295 logical reads to ~264 (sometimes to 4–5 reads) by ordering status before territory, and reversing order raises reads and cost. Shows covered indexes let UPDATEs use index seeks instead of clustered scans, and that an unused secondary index can force worse plans.

AI-written summary · about

  1. 0:00Start
  2. 3:57Overview
  3. 35:33Covered Indexes for Update Statements
  4. 41:30Create a Covered Index
  5. 44:58Conclusions
~/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.