About 1,070,000 results
Open links in new tab
  1. How to shrink the transaction log in SQL Server

    Apr 22, 2025 · Learn how to shrink the SQL Server transaction log for a SQL Server database either using SSMS or TSQL code.

  2. Shrink a File - SQL Server | Microsoft Learn

    May 19, 2025 · Learn how to shrink a data or log file in SQL Server by using SQL Server Management Studio or Transact-SQL.

  3. Best Way to Shrink Log File in SQL Server

    Jul 25, 2025 · In this blog, we look at the reasons to reduce transaction Log file size and the best methods to shrink Log file in SQL server.

  4. How to Shrink MS SQL Transaction Log File in Database

    Dec 28, 2023 · This article describes how to shrink MS SQL Transaction Log file using SQL Server Management Studio. The log file shrinking can orrur when the database is online and …

  5. Manage Transaction Log File Size - SQL Server | Microsoft Learn

    Aug 26, 2025 · This article describes how to monitor SQL Server transaction log size, shrink the transaction log, add to or enlarge a transaction log file, optimize the tempdb transaction log …

  6. How do I decrease the size of my sql server log file?

    Quickly: in full backup mode all transactions are retained in the log files until a backup of the log file is performed, then that space can be reused. This makes sense in many production …

  7. DBCC SHRINKFILE (Transact-SQL) - SQL Server | Microsoft Learn

    Sep 29, 2025 · Typically it's the log file that appears not to shrink, usually the result of a log file that hasn't been truncated by a regular transaction log backup. To truncate the log, back up …

  8. How to Shrink SQL Server Database Files

    Jan 2, 2025 · In this article we walk through an example of how SQL Server database files grow and then the steps to take to shrink a database file.

  9. Shrink a Database - SQL Server | Microsoft Learn

    May 19, 2025 · This example uses DBCC SHRINKDATABASE (Transact-SQL) to decrease the size of the data and log files in the UserDB database, and to allow for 10 percent free space in …

  10. Shrink SQL Server Log Files - databasehealth.com

    Learn when to Shrink SQL Server Log Files and the right way to do it for proper log file performance on SQL Server.