~/talk

Debugging SQL Server

Talkat SQLBits 2023 · 2023-03-14..03-18· [databases]
name:Bob Ward
linkedin:bobwardms
slides:none on file

Shows how the product team reproduces and diagnoses real crashes and hangs using concrete tools: loading mdmp files with the Windows Debugger, running dot ecxr to get the exact faulting instruction, and using SQL dumper.exe and built‑in unit tests to force access violations or non‑yielding schedulers. Covers defensive features like trace flag 815 (buffer latch enforcement), the scheduler monitor that spawns dumps on long non‑yields, XEvent/system_health for live diagnostics, spin‑lock backoff metrics and the partitioning fix that collapsed heavy hash‑bucket contention.

AI-written summary · about

  1. 0:00Introduction
  2. 2:20Debugging fundamentals
  3. 4:04Access violations
  4. 10:56Debugging tools demo
  5. 21:55Handling server hangs
  6. 26:43Analyzing non-yielding
  7. 35:12Thread pool issues
  8. 37:19Preemptive waits
  9. 40:02Spinlock debugging
  10. 45:22Advanced performance case
  11. 48:28Q&A 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.