Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shrink log shrinks at 1 MB and sometimes don't
Message
De
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:
01578450
Vues:
38
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform