1

I noticed that Ola Hallengren's backup sp has backup checksums disabled by default. This made me curious to know if there are any potential cons (i.e. increased CPU, IO, long backup times, etc) associated with enabling backup checksums for sql server backups?

1
  • 1
    There's a new comment from Ola Hallengren that's relevant to your question.
    – Ronaldo
    Nov 16, 2020 at 11:20

1 Answer 1

4

Yes, and you can verify that on the Backup Checksums doc:

Due to the overhead verifying and generating backup checksums, using backup checksums poses a potential performance impact. Both the workload and the backup throughput may be affected. Therefore, using backup checksums is optional. When deciding to generate checksums during a backup, carefully monitor the CPU overhead incurred as well as the impact on any concurrent workload on the system.

But I advise you not to discard the checksum benefits just because of the cost it implies. Check the documentation to better understand the checksum and then decide whether to use it or not.

That same doc states that

after encountering a page checksum error, a BACKUP or RESTORE operation fails and a RESTORE VERIFYONLY operation continues.

As you can see, when using checksum it's possible to find out that your backup is not reliable while taking it and not when you need to restore it (you don't wanna find yourself in this situation).


The reason checksums are not enabled by default in the backup stored procedure DatabaseBackup is just to follow the defaults for the backup command. I strongly recommend you to use checksums. @CheckSum = 'Y' is also added in the jobs that comes with the installation script MaintenanceSolution.sql. – Ola Hallengren

1
  • 2
    The reason checksums are not enabled by default in the backup stored procedure DatabaseBackup is just to follow the defaults for the backup command. I strongly recommend you to use checksums. @CheckSum = 'Y' is also added in the jobs that comes with the installation script MaintenanceSolution.sql. Nov 15, 2020 at 20:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.