~/talk

A Beginners guide to Query Store

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

Query Store captures execution plans, estimated plans, runtime stats and wait statistics, storing them per database so you can find plan regressions and top resource consumers. Enable with ALTER DATABASE ... SET QUERY_STORE = ON and set OPERATION_MODE = READ_WRITE; it captures SELECT and DML but not DDL/DCL. Defaults push in-memory samples to disk every 90s and roll up captures hourly (can be reduced to minutes at higher storage cost). It also supports forcing specific plans and comparing join algorithms.

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.