January 28, 2006 at 2:27 am
Database Log backup bigger than the database size:
The environment is like;
But the log backup of Saturday 11:00AM size only bigger than the database size.
What could cause the database log backup size to bigger than the database size?
How can I find out what action on the database that too on the partcular day at particular time causing this problem?
THA
January 28, 2006 at 9:38 pm
You should consider doing more frequent log backups to have the size of the backup file smaller, at least one each 30 minutes. It seems that you have many transactions in your database (or few but very big ones).
run DBCC OPENTRAN('DBName') to check the oldest transaction. If you can't find anything with this, run a trace with profiler to exactly know what is running in your server.
If you don't wont to have more frequent log backups, maybe you should consider putting your db in Simple recovery mode.
January 31, 2006 at 11:10 pm
February 1, 2006 at 7:07 am
There are several things that can cause a transaction log to grow to huge amounts (yes, larger than the database itself). Mostly, reindexing or defragging the indexes will cause this to happen. Are you doing any database maintenance other than backups?
-SQLBill
February 1, 2006 at 8:17 am
Data loads as well. Is something happeneing on Fri night like this? Or maintenance as Bill suggested?
February 1, 2006 at 12:16 pm
Maybe I don't understand what you are asking but if it is what I think you are asking here a suggestion.
DBCC Shrinkfile
I've noticed that I had a log file that was 4x larger than the db. Someone in this forum (or another?) suggest running this procedure and it reduced the size significantly.
DBCC Shrinkfile ('file_name', TRUNCATEONLY)
February 3, 2006 at 7:56 pm
If the huge transaction is not backed up with a transaction log backup, then DBCC SHRINKFILE won't help much, because it is still in the log so it won't free the space.
You can monitor log growth with perfmon during the day and then check the time that it starts growing up. With the time of the day you can later check any maintenance job that runs on that time or check with any analist if there is a process that run on that time.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply