Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shrink Log File Size
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Divers
Thread ID:
01451358
Message ID:
01451430
Vues:
32
Run the following script:
use dbName
backup log dbName with truncate_only

dbcc shrinkfile (dbName_log, 15)
Change 'dbName' to your database name and change '15' to the size you want the log file to be.

HTH


>I detached a DB from my client site and emailed it to myself. I then reloaded all the data they had in the before.
>
>The logfile ballooned to 300mb. Is there a way to reduce this size?
>
>I tried DBCC SHRINKFILE(database) but it had no effect.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform