~/talk

Banishing Slow Queries with Intelligent Query Processing

Talkat SQLBits 2023 · 2023-03-14..03-18· [databases]
slides:none on file

Overview of SQL Server 2019 and 2022 Intelligent Query Processing features that actually change plans with zero code edits: enabling table variable deferred compilation moves an estimated rowcount from 1 to 228,000; lightweight query profiling and Query Store (or trace flag 7412 pre-2019) collect runtime metrics; memory grant feedback reduces excessive grants after one execution; parameter sensitive plan creates a dispatcher plus up to three variant plans; degree-of-parallelism feedback auto-tunes DOP (example: 16 → 12 → 8 → 2 → back to 4); memory grant and DOP feedback require Enterprise.

AI-written summary · about

  1. 0:00Start
  2. 1:34Denny Cherry & Associates
  3. 4:01CHALLENGE ACCEPTED
  4. 6:10SQL Server 2022 IQP
  5. 11:29Table Variables Issues
  6. 12:09Table Variable Deferred Compilation
  7. 15:07Memory Grant Feedback
  8. 19:34Parameter Sensitive Plan
  9. 28:45DOP Feedback Architecture
~/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.