~/talk

Query Store Best Practices

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

Query Store works but only with specific configuration and versioning: apply recent CUs (2019+ adds custom capture mode), keep the max size modest (default 1 GB, start 2–4 GB, Azure enforces 10 GB limit), and avoid size-based cleanup by monitoring and tuning retention. Ad hoc ORM workloads create massive unique entries — parameterize the top 5–10 hot queries or use custom capture thresholds (compile/exec CPU) to filter. Use trace flags 7752 and 7745 on older releases; read-only replica captures still write back to primary.

AI-written summary · about

  1. 0:00Introduction and basics
  2. 1:48How query store works
  3. 7:13Performance and versioning
  4. 14:01Workload types and impact
  5. 21:07Demonstration and tuning
  6. 28:34Best practices and tips
  7. 35:49Configuration recommendations
  8. 39:24IQP and replicas
  9. 43:58Final recommendations and QA
  10. 45:53Detailed Q&A session
~/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.