~/talk

Stop Indexing the Query

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

Methodology scores queries by an inefficiency score = (logical + physical reads) / rows × execution count, then groups statements by table and ranks them, keeping only those with reads to rows > 8. Uses DMVs like dm_exec_query_stats and plan XML to spot missing index recommendations, producing vs consuming operators, implicit conversions and parallelism. Checks data churn (over 50% per day raises caution), removes duplicate/unused indexes, measures post-change reads and execution cost; approach reduces aggregate IO and cloud compute spend.

AI-written summary · about

  1. 0:00Holistic workload approach
  2. 1:31Indexing methodology
  3. 3:53Defining inefficiency
  4. 7:03Analyzing query performance
  5. 11:17Data-driven prioritization
  6. 14:09Inspecting query plans
  7. 19:07Index validation and cleanup
  8. 23:29Managing data churn
  9. 25:52Iterative optimization
  10. 30:28Cloud, cost, and conclusion
~/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.