Clear/Purge Log files
From: Carlos (wt_know_at_hotmail.com)
Date: 05/19/04
- Next message: Dan Guzman: "Re: Clear/Purge Log files"
- Previous message: Andrew J. Kelly: "Re: backup jobs not runing on mssql7"
- Next in thread: Dan Guzman: "Re: Clear/Purge Log files"
- Reply: Dan Guzman: "Re: Clear/Purge Log files"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 May 2004 08:52:17 +0800
The MDF file is 800 MB but the LDF file is 5 GB. I run the "shrink database"
but this does not seems to reduce the mdf or ldf filesize.
What I did is detach the database, delete the ldf file, re-attach the
database to create a new ldf file. If I do not do so, the application cannot
work (hang!) because the ldf file is too huge and it takes ages to commit a
transaction. Is there a "better" way to control the ldf file like
auto-purging ? Should I restrict the log file size to a specific filesize
like 500MB ? Does this mean it will auto-purge each time it reach 500MB for
the ldf file ?
Thanks
- Next message: Dan Guzman: "Re: Clear/Purge Log files"
- Previous message: Andrew J. Kelly: "Re: backup jobs not runing on mssql7"
- Next in thread: Dan Guzman: "Re: Clear/Purge Log files"
- Reply: Dan Guzman: "Re: Clear/Purge Log files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|