5

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)?

Taryn
  • 242,637
  • 56
  • 362
  • 405
SDReyes
  • 9,798
  • 16
  • 53
  • 92

1 Answers1

4

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

Sidharth Panwar
  • 4,606
  • 6
  • 27
  • 36