Is there any way to find why the log had grown at a particular time

  • Hello,

    My error log says that the log file of one of my DB was full. Now when I check its 99% free. I backup log at regular interval it just happend in between the two log backups.

    My question is that, is there any way to find why the log had grown at that particular time ?

    Thanks in advance.

    Smith.

  • Without additional auditing there is no default way to detect the reason for log growth.

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • I have a default trace running 24/7 that I can use to troubleshoot. You could set one up for the future. Then look at activity in the timeframe between log backups and maybe you will see something useful. Also, you could run transaction log backups more frequently.

  • homebrew01 (6/1/2013)


    I have a default trace running 24/7 that I can use to troubleshoot. You could set one up for the future. Then look at activity in the timeframe between log backups and maybe you will see something useful. Also, you could run transaction log backups more frequently.

    Running 24/7 trace on DB with heavy transactions won't be advisable is it ?

  • Unless you disabled the default trace, it is already running.

    The trace is light weight and does not appreciably affect system performance (or at least in my experience).

  • I meant to say I have a server side trace running. I did not make any changes to the system default trace which is also running.

  • The default trace captures file growths, iirc.

  • Thank you all. That clarifies. Let me check what's available there.

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply