~/talk

Making the SQL Query Processor Work for you

Talkat SQLBits 2022 · 2022-03-08..03-12· [databases]
links:none on file
name:Joe Sack
links:none on file
links:none on file
slides:none on file

Upgrade to compatibility level 160 to get automatic QP innovations; SQL 2022 turns Query Store on by default for new databases and persists feedback there. Use sp_query_store_set_hints to apply query store hints (e.g., OPTION(MAXDOP)) without changing code, and sp_query_store_force_plan to reduce compile time (demo drops ~1.2s to ~13ms). Feedback features—memory grant feedback, DOP feedback, and C‑feedback—record adjustments in Query Store and survive restarts; Query Store capture on read‑only secondaries is available in preview under a trace flag.

AI-written summary · about

  1. 0:00SQL Query Processor intro
  2. 15:29Compatibility level deep dive
  3. 23:33Query Store fundamentals
  4. 33:04Query Store hints & read-only secondaries
  5. 33:47Intelligent query processing feedback
  6. 45:04Non-feedback intelligent query features
  7. 48:38Summary & Q&A
~/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.