Log file shrinks itself

  • I have a database where its log file seems to shrink itself. Our monitoring software (Idera) will inform us when the log file is above %90 full. At this point, it should grow. We have upped the initial size for the log file to 256 MB and autogrowth of 32 MB. However, checking throughout the day, its seems that the inital size of the database drops down to 9 MB. We do not have a SQL Agent job set to shrink this log file. Is there a way that I can check to see what is causing this, maybe through a trace?

  • DB in simple mode?

    Taking regular log backups?

  • Do you have auto-shrink turned on for the database?


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • It's set to full recovery with hourly log backups.

  • jbrown414 (12/13/2011)


    It's set to full recovery with hourly log backups.

    The log backups "repair" that warning.

    Autoshrink would actually make it happen more often. :hehe:

  • It is set to auto shrink. :pinch:

    Thank you Craig. I will get it turned off.

  • jbrown414 (12/13/2011)


    It is set to auto shrink. :pinch:

    Thank you Craig. I will get it turned off.

    LOL, no problem. Sometimes Occam was quite correct. Gotta love inheriting systems and settings... 😉


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

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

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