r/SQLServer • • Nov 07 '25

Question SQL Server - Double Checkpoint

Any idea why a transaction log backup using Ola Hallegren's scripts would have triggered 2 checkpoints that can be seen using the following script:

SELECT [Checkpoint Begin], [Checkpoint End]

FROM fn_dblog(NULL, NULL)

WHERE Operation IN (N'LOP_BEGIN_CKPT', N'LOP_END_CKPT');

All the other databases show one. Tbh, I don't check for checkpoints that often so it might be standard to do more than one checkpoint.

1 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/techsamurai11 Nov 07 '25

I wasn't doing a checkpoint, the operation to check the checkpoints FROM fn_dblog(NULL, NULL was taking forever.