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!