r/SQLServer • u/techsamurai11 • 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
View all comments
Show parent comment
1
u/Dry_Author8849 Nov 08 '25
You should have some guides and documents. In AWS each instance type specify limits on how many EBS volumes you can attach, max IOPS per volume and max bandwidth per instance. Place the logs on a separate disk. Check the guidelines.
For tempdb there is ephemeral storage (it starts empty on each reboot) or local storage on some instances (like nitro instances in AWS) which may give moren IOPS.
A 4 CPU is a small instance, don't expect acceptable performance on heavy OLTP workloads.
Cheers!