About 193,000 results
Open links in new tab
  1. tempdb Database - SQL Server | Microsoft Learn

    May 1, 2025 · This article provides details about the configuration and use of the tempdb database in SQL Server, Azure SQL Database, SQL database in Fabric, and Azure SQL …

  2. Shrink the tempdb Database - SQL Server | Microsoft Learn

    Jun 12, 2025 · Applies to: SQL Server Azure SQL Managed Instance This article discusses various methods that you can use to shrink the tempdb database in SQL Server. You can use …

  3. Move system databases - SQL Server | Microsoft Learn

    Nov 25, 2024 · Because tempdb is recreated each time the instance of SQL Server is started, you don't have to physically move the data and log files. The files are created in the new location …

  4. Recommendations to reduce allocation contention - SQL Server

    Jan 17, 2025 · When the tempdb database is heavily used, SQL Server may experience contention when it tries to allocate pages. Depending on the degree of contention, this may …

  5. SORT_IN_TEMPDB Option For Indexes - SQL Server

    Nov 22, 2024 · When you create or rebuild an index, by setting the SORT_IN_TEMPDB option to ON you can direct the SQL Server Database Engine to use tempdb to store the intermediate …

  6. TempDB full how can i resolve? - Microsoft Q&A

    Jul 6, 2023 · Provides methods for troubleshooting tempdb data and transaction log full errors on a dedicated SQL pool. Learn how to shrink the tempdb database by using Transact-SQL.

  7. Rebuild system databases - SQL Server | Microsoft Learn

    Jul 22, 2024 · The default location for the template files is C:\Program Files\Microsoft SQL Server\MSSQL<xx>.MSSQLSERVER\MSSQL\Binn\Templates (where <xx> is the version you …

  8. Examples to Configure Tempdb Space Resource Governance - SQL …

    Jun 16, 2025 · This example configures tempdb data files so that the percent limit can be used, and then limits the total tempdb space consumption by the requests (queries) in the default …

  9. SQL Server Tempdb Initial Size - Microsoft Q&A

    Sep 28, 2023 · The tempdb database should be set to autogrow to increase disk space for unplanned exceptions. Data files should be of equal size within each filegroup, because SQL …

  10. Tempdb database - Parallel Data Warehouse | Microsoft Learn

    Jun 3, 2025 · SQL Server PDW performs the same operations on temporary tables and permanent tables unless explicitly stated otherwise. For example, the data in local temporary …