Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab. Download now (direct download link)
Thank this author by sharing:
Download in .rgtool format for use with SQL Scripts Manager, a free tool that provides simple GUIs for SQL scripts.
By Gianluca Sartori, 2014/09/25
Lists the TempDB usage per each active session. It helps identifying the sessions that use the tempdb heavily with internal objects.
When the internal objects usage is high, the session is probably using big hash tables or spooling in worktables. It could be a symptom of an inefficient plan or a missing index.
Shrinking a TempDB full of internal objects will probably have no effect, because the engine will not release the deallocated space. The only possible alternative to restarting the service, is running DBCC FREESYSTEMCACHE('ALL'), that will clear all cached objects, including not only internal objects, but also cached query plans. Use it carefully on a production server.
TempDB Internals: TempDB is very important DB in sql server, generally sql server automatically take...
Still 18 days to go for my session on Transaction Log Internals for Chennai SQL Server User Group (1...
Tempdb
Hi I am thinking I know the basics of the problem here, but I want to make sure I know the detail...
I spent sometime to understand more about tempdb today. posting some key points for our quick refere...