~/talk

Hidden Gems in SQL Server 2022 Database Engine

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

Demo-heavy tour of small fixes that deliver big wins: handsfree tempdb removes PFS/GAM/system-table latch contention so a single tempdb file runs with no latches (demo throughput ~2x, workload time falls from 28s → 12s), plus lazy log flush. XML compression cuts XML size ~50% and halves logical reads (CPU up but wall time similar). low-priority async stats prevents blocking chains during auto-updates. Auto-drop stats, T-SQL helpers (generate_series, date_bucket, greatest/least) and faster log growth zeroing (17s → 7s; VLFs 51 → 26) round out practical fixes.

AI-written summary · about

  1. 0:00SQL Server 2022 hidden gems
  2. 1:54Tempdb improvements
  3. 8:15Tempdb latch contention reduction
  4. 12:53XML compression in SQL Server 2022
  5. 15:03XML compression savings and performance
  6. 18:36Asynchronous statistics updates
  7. 23:49Low-priority statistics updates
  8. 29:14Statistics auto-drop for schema changes
  9. 31:50T-SQL improvements in SQL Server 2022
  10. 33:14IS DISTINCT FROM and T-SQL functions
  11. 38:31Performance engineering improvements
  12. 43:50Instant file initialization for log files
  13. 47:44Additional hidden gems and closing
~/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.