Tag: Temp DB

  • DBA Scripts: Get TempDB Configuration

    🔧Part of the DBA-Tools Project, copy/paste SQL Server scripts and health checks. TempDB is shared by every database on the instance, and it’s usually the first thing to show contention under load, long before any user database does. Unlike a user database’s files, TempDB’s default configuration out of the box (a single data file) is…

  • DBA Scripts: Get Temp DB Hotspots

    🔧Part of the DBA-Tools Project, copy/paste SQL Server scripts and health checks. Temp DB is shared by every database and every session on the instance: temp tables, table variables, sort and hash spills, version store for snapshot isolation, all of it lands in the same handful of files. When Temp DB is under pressure, contention…

  • DBA Scripts: Get TempDB Usage and File Balance

    🔧Part of the DBA-Tools Project, copy/paste SQL Server scripts and health checks. How Full TempDB Is Right Now, and Whether Its Files Are Set Up Correctly TempDB Configuration and TempDB Hotspots already cover configuration baseline and allocation-contention diagnosis. These two scripts fill the gap between them: Get-TempdbUsage shows exactly how full each TempDB file is…