Skip to main content

Describe Transaction Log Architecture. Why does the log grow?

Mid MS SQL
Quick Answer The transaction log records every change in sequence รขโ‚ฌโ€ each log record has an LSN (Log Sequence Number). The log grows when: long-running transactions hold the log open, log backups aren't taken (Full recovery model), or replication hasn't consumed the log. Regular log backups keep it manageable.

Answer

The log consists of Virtual Log Files (VLFs). Log grows due to long-running transactions, no log backups, replication delays, or index rebuilds inside transactions.

S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice