~/talk

Next Level Scalability on SQL Server 2022

Talkat SQLBits 2023 · 2023-03-14..03-18· [databases]
links:none on file
links:none on file
slides:none on file

SQL Server 2022 removes major tempdb choke points by turning GAM/SGAM update latches into shared latches so high-concurrency workloads stop producing the giant latch wall seen on 2019; demos compare 2019 vs 2022 instances with a streaming Power BI workload. Buffer pool scans become parallel on many cores (2 TB machine shows dramatic elapsed-time drops). ordered clustered columnstore cuts segments read from ~102 to 4 and IO by ~10x on a 100M-row test. transaction ID locking plus lock-after-qualification drops locks from millions to single-digit and memory use from ~900 MB to ~1.6 MB. Diagnostics: sys.dm_db_page_info, page rescracker, extended events and DMVs.

AI-written summary · about

  1. 0:00Introduction to SQL Server 2022 scalability
  2. 1:23Scalability challenges and history
  3. 5:14TempDB bottlenecks and best practices
  4. 17:09TempDB improvements in SQL Server 2022
  5. 22:04Buffer pool parallel scan in 2022
  6. 26:14Clustered columnstore index enhancements
  7. 31:26Optimistic locking for concurrency
  8. 40:58Additional engine improvements
  9. 44:29Q&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.