Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shrink log shrinks at 1 MB and sometimes don't
Message
 
To
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:
01578451
Views:
49
>>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.

The autogrowth of the files you can set it in SSMS:
Right click on Database
Select Properties
Click on Files.
The you will see on the right part of the form "Autogrowth/Max size" column (I thing the Max Size is only in 2012, but I'm not sure).
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform