The TempDB System Database in SQL Server

This article is from my book:
Tuning SQL Server (eBook)

Tuning SQL Server (Second Edition)

Table of Contents | Sample ChapterLearn More

The tempdb system database in SQL Server is one of the databases that are shipped with every SQL Server installation and it is used for specific tasks as a temporary storage. Examples of when tempdb is used are:

TempDB is protected with the use of certain built-in restrictions in SQL Server. These are:

TempDB is heavily used in a variety of SQL Server operations and contributes a lot to performance of database operations. To this end, you need to maintain the good health of TempDB in order to contribute towards a performant SQL Server instance. For example, you must ensure that there is an adequate amount of available free disk space as TempDB expands when used. Also, using multiple data files can help applying parallelism in TempDB database.

Learn more about SQL Server Performance Tuning in my latest eBook "Tuning SQL Server (second edition)"!

The SQL Server and .NET Hub

Reference: The SQL Server and .NET Hub (

What are your views on the subject? Have something to share? Feel free to leave your comment!

Labels: , , ,