About 139,000 results
Open links in new tab
  1. Manage Transaction Log File Size - SQL Server | Microsoft Learn

    Aug 26, 2025 · Learn how to monitor SQL Server transaction log size, shrink the log, enlarge a log, optimize the tempdb log growth rate, and control transaction log growth.

  2. How large should the transaction log be? - SQL Server Tips

    Apr 22, 2025 · In this part we look at general rules of how large a SQL Server transaction log should be compared to your database file sizes.

  3. How to Check Database Log File Size in SQL Server Using Query?

    Nov 2, 2023 · In this SQL Server tutorial, you will learn how to check database log file size in SQL Server using query. First, you will understand ‘What is a database log file in an SQL Server instance?’.

  4. Sizing Your Transaction Log in SQL Server: How Big Is Big Enough?

    Nov 4, 2025 · In this post, we’ll look at how to determine the right initial size of a transaction log file, and how to keep it healthy for the life of the database.

  5. sql server - TSQL: How do I get the size of the transaction log ...

    Dec 17, 2009 · For an overall of all database sizes try DBCC SQLPERF. This should work in SQL 2000/2005/2008. From SQL Server 2012, there is another DMV (Dynamic Management View) …

  6. How to Decrease SQL Server Log File Size: Fix Large LDF Files That …

    Nov 24, 2025 · SQL Server databases rely on two critical files: the MDF (primary data file) and the LDF (transaction log file). While the MDF stores actual data, the LDF records every transaction (inserts, …

  7. How to Check Transaction Log Size in a SQL Server - wikiHow

    Apr 10, 2024 · This wikiHow teaches you how to find out the size of a database’s transaction log, as well as how much of the total log space it’s using, on a Microsoft SQL Server.

  8. 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.

  9. Optimal Log File Growth and Virtual Log Files - SQL Server Science

    Feb 26, 2019 · Microsoft’s SQL Server Database Engine divides each physical log file internally into a number of virtual log files (VLFs). Virtual log files have no fixed size, and there is no fixed number of …

  10. Managing SQL Server transaction log size - Simple Talk

    Jun 29, 2021 · You can control size and autogrowth to manage the SQL Server transaction log file size. Right size the file and autogrowth to avoid performance problems.