Checkpoints

  • Hi,

    There are a couple of questions I have that I would appreciate your help with:

    • Does SQL Server suspend all active transactions when it is processing a checkpoint.
    • BOL states that the truncation point for the transaction log is the earlier of the most recent checkpoint and the start of the oldest active transaction. But isn't it the start of the oldest active transaction in both cases, the reasoning being as follows. When the transaction log contains records for active transactions before the most recent checkpoint, the truncation point will be the start of the oldest active transaction. The other scenario is when there are no active transactions at the most recent checkpoint. In such a case, the truncation point will once again be the start of the oldest active transaction since there would be nothing in between the most recent checkpoint and the start of the oldest active transaction.

    Please clarify.

    Thanks,

    Karim

  • No idea if transactions are suspended, but I don't think so. Haven't seen significant slowdowns during log backups.

    The start would be the last checkpoint if there are no active transactions, just inactive (committed) ones.

Viewing 2 posts - 1 through 1 (of 1 total)

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