Become an Expert in Managing Your Tempdb
summary
Deep dive into tempdb internals with actionable steps: set tempdb to SIMPLE recovery, put data and log on separate fast storage, create multiple data files — start with one file per CPU up to 8 and add in fours if contention persists — size files equally and set fixed autogrowth (for example 64 MB). Use DMVs like sys.dm_db_file_space_usage and sys.dm_db_task_space_usage to find hot operations, and apply SQL Server 2019 allocation improvements to reduce metadata contention.
AI-written summary · about
chapters (5)
- 0:00Introduction to tempdb
- 6:42Types of tempdb contention
- 10:07Solving allocation contention
- 21:15Automating tempdb cleanup
- 29:06Best practices summary
related talks
48mMastering TempDB
43mPerformance Tuning, Getting the Biggest Bang for Your Buck
49mHidden Gems in SQL Server 2022 Database Engine
49mHidden Gems in SQL Server 2022 Database Engine
49mPerformance Improvements in SQL Server 2019
51mNext Level Scalability on SQL Server 2022
54mYour Performance Tuning Check List
59mHow to be a Ninja Troubleshooting SQL performance...
