Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shrink log shrinks at 1 MB and sometimes don't
Message
 
À
15/07/2013 11:20:36
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01578446
Message ID:
01578451
Vues:
47
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform