Chapter 2: Some, But Not Too Much, Log Internals
Much as we would like to avoid it, some discussion of the internal structure of the transaction log, and the internal processes that work on it, is very helpful in understanding the appropriate log maintenance techniques, and in troubleshooting log-related problems. Others have tackled this topic before. The article, Understanding Logging and Recovery in SQL Server (HTTP://TECHNET.MICROSOFT.COM/EN-US/MAGAZINE/2009.02.LOGGING.ASPX) by Paul Randal, and the book, Microsoft SQL Server 2008 Internals by Kalen Delaney, are two very good examples, so we will keep things brief here.
Virtual Log Files and the Active Log
As discussed briefly in Chapter 1, internally, SQL Server divides a transaction log ...