Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transaction Log file
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00688859
Message ID:
00689069
Vues:
28
Do you want to truncate the log file or shrink it? Truncating will remove any completed transactions but won't cause the file size to be reduced. Shrinking will reduce the file size.

if you want to shrink the size of the transaction log, check out the topic Shrinking the Transaction Log in the BOL. You'll probably have to truncate the log first.

why is you log so big? have you been doing log backups? do you have an open transaction that is preventing the file from being truncated? Use DBCC OPENTRAN() to verify that you don't have any open transactions.

-Mike


>Hi All:
> My Transactions log file .LDF is 65 GB. I want to truncate this file. How can I accomplish this? What happens if I just delete the .LDF file from the sql server? Would this have a negative effect on the server? DO I need to have the .LDF file?
>Thanks
>MA
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform