~/talk

A Beginners guide to Query Store

Talkat SQLBits 2024 · 2024-03-19..03-23· [databases]
links:none on file
slides:none on file

Query Store captures and retains execution plans and runtime telemetry per database so regressions are visible over time, storing estimated plans, runtime stats and wait statistics and letting you force a plan when one plan outperforms alternatives. Enable it with ALTER DATABASE SET QUERY_STORE = ON and set operational_mode=READ_WRITE; defaults flush to disk every 90 seconds and aggregate every hour (adjustable). UI reports surface regressed queries, top resource consumers and forced-plan usage; reduce capture intervals for fast incident troubleshooting at the cost of more storage.

AI-written summary · about

  1. 0:00Introduction
  2. 2:38Query store overview
  3. 6:27Plan cache vs query store
  4. 10:00Plan types and data capture
  5. 12:57Forcing plans and stats
  6. 17:20Troubleshooting with weights
  7. 20:06Conclusion and resources
~/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.