Blog: Shrink a log file…automatically?

Blog: Shrink a log file…automatically?

2 comments · 60% upvoted · source · other discussions

comments

SeriouslyDave

Damn, think of the VLFs. How about you attack the cause of the 90gb log file? More frequent log backups or break the activity into multiple transactions. Any sort of auto shrinking makes me feel a little uneasy.

MidnightDBA [OP]

Well as I said in the article, this really is for the rare case...not for regular use, for these reasons. Every so often, you have a special circumstance where a log shrink is warranted.