Re: Very large LDF
- From: "Hari Prasad" <hari_prasad_k@xxxxxxxxxxx>
- Date: Fri, 16 Mar 2007 07:33:02 -0600
Hi,
This is because you are not performing the transaction log backup. The LDF
file will be cleared after the log backup.
How to shrink the existing LDF file:
1. Perform a Transaction log backup (BACKUP LOG - refer books online)
2. Use DBCC SHRINKFILE on trasnaction log file
Have a look into the below link;
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q272318
Note:
Check the Recovery model you are using for that database. If it is FULL and
your data is not critical then change the
Recovery model to SIMPLE. Simple recovery model will clear the Transaction
log after commiting.
If you need the recovery model as FULL then,
Schedule a Transaction log backup based on your data growth, This can be
used when point in time recovery.
This will ensure that ur log file wont grow much.
Thanks
Hari
"Atlas" <Atlas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:52FC44F4-7F78-4A97-AB79-1A157207C0A6@xxxxxxxxxxxxxxxx
Hello,
I have a database that has an extremely large LDF file. The DB is approx 1
GB and the LDF about 20 GB. Presumably the LDF file should not be this
large.
The database gets backed up using Veritas Backup Exec. Can someone tell me
what I should do to the database in order to reduce the LDF file as it is
taking up unnecessary space.
Is it just a mater of shrinking the database from Enterprise Manager or is
there allot more involved.
The DB is set to Full recovery model and gets backed up every night (using
Veritas Backup Exec)
Thanks
.
- Follow-Ups:
- Re: Very large LDF
- From: Atlas
- Re: Very large LDF
- Prev by Date: RE: ASPNET worker process account can't login to Database
- Next by Date: Re: Very large LDF
- Previous by thread: Security context used by activation proc
- Next by thread: Re: Very large LDF
- Index(es):
Relevant Pages
|
|