Similar Threads:
1.Ever growing transaction log, using simple recovery?
I've read a lot of posts on growing transaction logs. Most suggest that
setting it to Simple Recovery ensures that is automatically shrinks.
Ours has been running Simple from the start. It's a database that is
mostly read-only, some tables are filled using replication.
Our production database is currently 160Gb, with an ever growing
transactionlog which has now grown to 130Gb. The disks can handle the
space requirement, but we're facing an ever growing increase in backup
time, and heaven forbid, restore time.
Whatever we tried, short of a suggestion of detaching the database and
reattaching, nothing seems to help.
We're running this on SQL 2005 SP1.
Any ideas, suggestions?
Ren
2.Investigating what makes my log file grow and grow and grow
I need to learn the steps to investigate which
transactions are not getting replicated, thus causing my
log file to grow. I periodically check the dbs I
administer and wait until after hours to force
replacation done using sp_ReplDone, followed by a backup
and shrink, for those dbs with excessively large log
files. I only have this problem on the server that acts
as distributor and subscriber.
I even set up jobs that do the following, in order (by
start time):
1)exec sp_ReplDone @xactid = NULL, @xact_segno = NULL,
@numtrans = 0, @time = 0, @reset = 1
2)Backup transaction log (part of maintenance plan)
3)Backup db (part of maintenance plan)
4)DBCC Shrinkfile
I have these jobs spread out every 1/2 hour to give them
plenty of time to complete before the next one begins.
Yet the log file doesn't shrink.
When I run DBCC OPENTRAN on the db, I get the following:
Transaction information for database 'Database1'.
Replicated Transaction Information:
Oldest distributed LSN : (0:0:0)
Oldest non-distributed LSN : (570647:21697:1)
DBCC execution completed.
So, my two requests are:
1) why doesn't my shrink procedure work? (If I do these
steps by hand I can shrink the log file down to 1MB)
2) how do I determine what's causing the hangup that
starts the log file to grow.
Roger.
3.DTS Copy Database Task and ever increasing Transaction Log
I am fairly new to DB management. One of the things I have to work with is a
DTS Package that simply copies a database. One thing that I have noticed is
that every time this runs the transaction log increases and doesn't seem to
clean itself out even when I shrink the database. Is there something missing
in the DTS that should drop the transaction log? The Transaction Log is
currently 103 GB and the data is only .5 GB. Any insight will be greatly
appreciated.
Rob
4.Ever increasing transaction log size
Hi guys
I have a database thata have a roughly 1 Gb datafile.
The issue I seem to be facing is the fact that the transaction log keeps
growing.
Currently the transaction log is just short of 5 Gb however the backup of
the transaction log is always below 1 Gb. Every morning when I come in I see
the same pattern the transaction log size is increased by a few Mb however
the backup file of the log is only around 900 Mb.
Can anyone explain to me how and why the log file keeps growing?
Regards
Jonas
5.Transaction log keeps growing
Hi,
We have created a SQL server 2000 database. We observe that the
transaction log keeps growing over time. We are now about to run out of
space. We have been periodically shrinking the database. Nevertheless
the size has increased. I would imagine that a transaction log can be
eliminated if we stop the database. Can that be done? Is there a way to
completely wipe off the transaction log?
Thanks,
Yash
6. Transaction log databseNAME_log.ldf keeps growing
7. Transaction Log files not growing
8. Virtual SQL Server Transaction Log Auto-Grow problem.