~/talk

Improving Performance with Intelligent Query Processing

Talkat SQL Server Virtual Conference 2021 · on Friday, 2021-01-29· [databases]
slides:none on file

Demonstrates specific toggles and metrics: enable lightweight profiling (trace flag 7412 on 2017 or DB scoped configs on 2019 compat level 150) and see real effects — table variable deferred compilation shifts an estimate from 1 row to 228,000 rows and changes plan shape, memory grant feedback shrinks a 731MB grant to ~8.5MB and prevents tempdb spills on subsequent runs, and scalar UDF inlining permits parallelized plans; uses new DMVs (query_plan_stats, in‑flight plans) and shows measurable, working improvements.

AI-written summary · about

  1. 0:00Introduction
  2. 1:20Contact Information
  3. 2:25Agenda
  4. 3:07What is Intelligent Query Processing
  5. 3:43Performance Tuning
  6. 4:12Lightweight Query Profiling
  7. 6:35Compatibility Level
  8. 8:06Lightweight Query Profiling Features
  9. 10:16Table Variables
  10. 11:07Temporary Tables
  11. 11:52Table Variable Compilation
  12. 13:37ScalarUFD Inlining
  13. 17:32Memory Grant Feedback
  14. 20:53Batch Mode on Rowstore
  15. 22:54Demo
  16. 31:39Inline Scalar Functions
  17. 34:35Compatibility Levels
  18. 36:29Memory Grants
  19. 39:34Batch Mode
~/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.