• Err... close but I sense a misunderstanding there.

    When changes are made, they are made to the data pages in memory and are logged. When the transaction commits, the log records are guaranteed hardened on disk. At a later point the checkpoint (or lazy writer) will write the modified data pages to disk. The checkpoint does not read the log and make the changes to the data file, it writes the already changed data pages from memory to disk.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass