Troubleshooting tempdb Growth: Identifying Idle Sessions Holding Temporary Resources in SQL Server
To find out how much tempdb disk space is occupied by each session that is connected and is idle in a SQL Server database, you can use the following query. This query leverages Dynamic Management View...