MSSQL LDF Shrink Part -I
Shrink the log in SQL Server Management Studio
Wiki topics:
BIZ · Business Strategy
MSSQL LDF Shrink Part -I
Shrink the log in SQL Server Management Studio
To shrink the log in SSMS, right click the database, choose Tasks, Shrink, Files:

On the Shrink File window, change the File Type to Log. You can also choose to either release unused space, reorganize pages before releasing unused space, or empty file by migrating the data to other files in the same filegroup:

Shrink the log using TSQL
If the database is in the SIMPLE recovery model you can use the following statement to shrink the log file:
DBCC SHRINKFILE (AdventureWorks2012_log, 1) 메타데이터
- post_id
- d2f3b61a734d
- slug
- mssql-ldf-shrink-part-i-d2f3b61a734d
- url
- https://towardsdev.com/mssql-ldf-shrink-part-i-d2f3b61a734d
- canonical_url
- https://towardsdev.com/mssql-ldf-shrink-part-i-d2f3b61a734d
- author_url
- https://medium.com/@solutionamardba
- status
- ok
- fetched_at
- 2026-06-16 19:09:56