SDReyes
SDReyes

Reputation: 9954

SQL Server: Hidden risks of using DBCC SHRINKFILE

We're getting a huge LDF file by using a full recovery mode in a SQL Server DB. so we're planning to shrink the log file.

Is there any performance penalty for using DBCC SHRINKFILE to reduce the database log file size (LDF)?

and what about applying it to the data file (MDF)?

Upvotes: 5

Views: 8597

Answers (1)

Sidharth Panwar
Sidharth Panwar

Reputation: 4654

I think this should be helpful: http://www.mssqltips.com/tip.asp?tip=2055

Upvotes: 4

Related Questions