over time our database log file has grown to 12GB, aparently we never set any caps or purging options, and now the partition made for the log files is full, what is the most effective way to clean up this file?
I assume a log is just a log. Deleting a log won't have any effect - apart from the exception of Exchange.
I may well be wrong, but if it's causing serious partiton space issues, deleting a log won't cause your system to hang/crash, although keeping a drive full may.
You don't want to just delete the log file. If you do, SQL will mark it Suspect and cause it to become unuseable.
If you go into Enterprise Manager, you can create a maintenance plan that will do a backup of the transaction log. One of the options is to truncate and shrink the log file. That will take care of it for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.