Large transaction log file
Large transaction log file
(OP)
We have a 20M database but a 140M transaction log file. Attempting to shrink the log files only gives me about 10M back. I have done tlog backups as well as full backups but the log file seems to stay the same. Would it be safe to setup the backup to simple then change it back to full after a backup? Any other solution you can recommend?
Thank you in advance.
Thank you in advance.
RE: Large transaction log file
2) is the database in log shipping?
3) does it matter if point in time restore is lost for that period?
4) are there uncommitted transactions?
I see you are backing up the log file and the database both so that is a good thing.
djj
The Lord is my shepherd (Psalm 23) - I need someone to lead me!
RE: Large transaction log file
-SQLBill
The following is part of my signature block and is only intended to be informational.
Posting advice: FAQ481-4875: What should I know before I post?
RE: Large transaction log file
We do daily full backups, every 6h tlogs. Not messing with incremental or differential since our dbases are small.
4) are there uncommitted transactions?
Just checked them and no uncommitted tlogs are present.
Thanks in advance again.
RE: Large transaction log file
This should shrink the size, however you will need to watch the size over the next few days to see if there is excessive growth.
djj
The Lord is my shepherd (Psalm 23) - I need someone to lead me!
RE: Large transaction log file