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 08 '25

Thanks, so to sum it up:

Tempdb - ephemeral

Log files - local

DB files - on Premium since Ultra Disk is obviously going to be extremely expensive.

Is local, local to the server, same as ephemeral only persistent?

I've only worked with instances of 4 CPU databases, but we didn't have many concurrent users. There was one process that required viewing millions of rows as part of a web request. We summarized the data on the fly and it was sub-second (0.5 seconds) but we eventually pre-summed up the data so it's almost instantaneous for n number of users. It also plopped out data into excel spreadsheets almost instantly.

That was especially true of SQL Server 2008 R2 Enterprise. That version just rocked to the point that we didn't want to upgrade or downgrade to SQL Server 2017 Standard :-)

I guess I should ask what's the max CPUs you have seen and how many concurrent users/workloads were they designed to handle?