Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shrink log shrinks at 1 MB and sometimes don't
Message
From
15/07/2013 11:20:36
 
General information
Forum:
Microsoft SQL Server
Category:
Database management
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01578446
Message ID:
01578450
Views:
37
>If your recovery model is "Full" you must have full backup of the database and backup of the LOG to shrink the file.
>BTW there is no need to shrink the LOG.
>Autogrowth is a resource eating task. If you Backup the LOG SQL Server can reuse its space.

The recovery mode has been set to simple.

If I wouldn't have shrunk that log, we would have run out of disk space. This wasn't making any sense to have half a terabytes of log for our development and test environments. This grows indefinitely if there is no procedure to take care of that. I always have this shrunk at midnight to 1 MB to start all over.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform