~/talk

Query Store Best Practices

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

Explains concrete rules and knobs: Query Store cost depends on SQL version and CU (many fixes backported), default max size 1 GB (recommend 2–4 GB), Azure caps at 10 GB, and ad hoc workloads can blow the in‑memory hashmap (demo shows 100k executions producing ~20 plans for parameterized code versus thousands of unique entries and memory jumping from ~3 MB to ~100 MB for ad hoc). Recommends custom capture mode (2019+) with compile/execution thresholds, use TF 7752 and TF 7745 as needed, and monitor before enabling replicas.

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.