Home > DeveloperSection > Forums > Can't shrink my SQL Server 2008 Log files - 260GB currently
Mikki Halpin
Mikki Halpin

Total Post:23

Points:161
Posted on    June-19-2015 1:15 AM

 MSSQL Server MSSQL Server 
Ratings:


 1 Reply(s)
 454  View(s)
Rate this:
My database log files have grown to 260GB and I need to shrink them. I have tried numerous scripts such as:

DBCC SHRINKFILE ('HM_Log', 0)
As well as using the Shrink option in SQL Server Management Studio however the log file doesn't seem to shrink.

Has anyone got any suggestions?

The database is on my production server and actively used, I also have a maintenance plan setup to run all the relevant tasks including a daily transaction log backup and a weekly full backup which appears to be working fine.

I need to shrink it down so I can do a full backup + restore on my local development machine, however at the moment the log files is too large for my local drive.


Mayank Tripathi
Mayank Tripathi

Total Post:397

Points:3117
Posted on    June-19-2015 7:05 AM


Don't want to miss updates? Please click the below button!

Follow MindStick