Database snapshots for everyone!

Database snapshots have been available in SQL Server Enterprise edition in the last several versions. But if you’re lucky enough to have 2016 at work, go on and upgrade to SP1….you get extra-lucky special database snapshots in any version!

(Be sure to read the footnote for “Database snapshots” in that link.)

What are database snapshots for?

Oh, what’s that? You don’t use snapshots? Well let’s see a couple of good use cases for them:

  • Take a database snapshot before an upgrade, data load, or major change. It’s WAY faster than a backup, and you can roll back the changes if you need to, almost instantly.
  • Customize integrity checks. When you run DBCC CheckDB or DBCC CheckTable, behind the scenes SQL Server creates a snapshot of the database to run the operation against. You can also choose to create a custom snapshot…among other reasons, so you can specify where the snapshot files are placed. This is especially useful for shops running tight on disk space.

Speaking of integrity checks and snapshots, go ahead and download the free tool Minion CheckDB…it’s going to blow your mind.

Like our content? Sign up for our newsletter!

While we try to make sure that any code uploaded to this site is non-destructive, these are community solutions and MinionWare LLC and all of its agents are not liable for any damage or misinformation that comes about from you downloading and using these solutions. So test every solution thoroughly before relying on it in a production situation.
Accept TermsReject Terms