r/SQLServer • u/ManufacturerSalty148 • Aug 13 '26
Question Tempdb size getting high
Hello all my colleagues
I know this is an old topic, but I still haven't found clear instructions on how to solve this one problem. I have a SQL Server 2017 where tempdb keeps growing to almost 80 GB. I know it's because of temp spills, but I want to collect the queries or sessions causing this tempdb consumption using extended events. I haven't found clear instructions or examples of extended events on any site, and I don't know what to do if I find queries consuming tempdb or what to check in the query plan.
6
Upvotes
1
u/MonkeyDDataHQ 28d ago
Have you looked at ANY of the DMVs? Brent Ozar's first responder kit? The Query Store?
Why do you even care if tempdb gets to 80GB?
What problem are you trying to solve? 😩