Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Log file growth

Author  Topic 

carumuga
Posting Yak Master

174 Posts

Posted - 2009-12-31 : 09:10:36
Hi,
One of my transaction log is growing during the day time and because of the growth one of the drive almost drives to full capacity.
Would really interested in identifying the root cause of it and any query you have handy?


Thanks in advance.

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2009-12-31 : 09:41:40
either start backing up the transaction log or switch to simple recovery
Go to Top of Page

carumuga
Posting Yak Master

174 Posts

Posted - 2009-12-31 : 09:52:10
Thats fine, My question is, I'm interested in the "Source/transaction" that fills up the log file...
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2009-12-31 : 10:02:23
can use profiler to capture queries with the most writes
Go to Top of Page

carumuga
Posting Yak Master

174 Posts

Posted - 2009-12-31 : 10:48:27
Apart from the profiler, Can you please advise if there is any query which performs similar operation.
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2009-12-31 : 12:27:22
sure. have a look at sys.dm_exec_query_stats

see these articles:

http://msdn.microsoft.com/en-us/magazine/cc135978.aspx
http://technet.microsoft.com/en-us/library/cc966540.aspx
Go to Top of Page
   

- Advertisement -