Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimizing deletion in batch
Message
De
02/01/2014 15:51:50
 
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:
01591061
Message ID:
01591271
Vues:
44
>We make maintenance plan to shrink log files.
>1. Backup Transaction logs
>2. Run Execute T-SQL Statement Task
>USE [yourDB]
>DBCC SHRINKFILE (N'yourDB_log' )

Yes, this is what I do in other environment. But, that clean the entire log to 1 MB. Is there a way to have a clean of the log and keep everything newer than 30 days?
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
Répondre
Fil
Voir

Click here to load this message in the networking platform