How to Make SQL Server Backups and Restores Faster

Every day, your servers do hundreds or thousands of operations that are all resource-intensive.  You want these operations to finish as quickly as possible, because they’re absolutely mission critical, and you’ll lose your job if they’re not done successfully.  Whole companies have been lost when these operations fail.  Yet do you really know how to make these operations happen faster?

These operations are backups and restores.

And no, most of us don’t know why they take so long.

In this five-minute video, I explain the only two surefire ways to improve your backup and restore performance: instant file initialization and cleaning your MSDB history.

To learn more, here’s related links for each of those techniques:

6 Responses to How to Make SQL Server Backups and Restores Faster
  1. wnylibrarian
    February 19, 2010 | 10:06 AM

    For fun (yes I know what I do for fun can be a bit odd at times) I logged into an older server that had SQL Server 2000 on it. At one time it had been a production instance, long since migrated over. However, the back ups were still running on there because although the database isn’t in production the server remains on-line as sort of a file archive server. I found MSDB had back up sets since early 2004. I went and deleted everything through 2008 using “sp_delete_backuphistory”. It took about 25 minutes. I went back and saw this gave a significant performance boost.

  2. Paul Randal
    February 19, 2010 | 12:20 PM

    Hey Brent – your second link is actually by me, not Kimberly :-)

    • Brent Ozar
      February 20, 2010 | 12:58 PM

      Doh! Sorry about that, fixing it now.

  3. Andrew Calvett
    February 22, 2010 | 10:28 AM

    Hi Brent,

    Nice post, its good to get that information out as its often over looked. But i have to say there are other ways that i`m sure your familiar with to improve the throughput but none of them are quick wins like the 2 you mention.

    A

Trackbacks/Pingbacks
  1. Something for the Weekend: SQL Server Links for the week | John Sansom - SQL Server DBA in the UK
Leave a Reply


Wanting to leave an <em>phasis on your comment?

Trackback URL http://www.brentozar.com/archive/2010/02/how-to-make-sql-server-backups-and-restores-faster/trackback/
Sept 30-Oct 2 – SQLBits - York, UK - doing sessions on virtualization & storage.

Nov 8-11 - PASS Summit - Seattle, WA - doing sessions on virtualization & professional development.

More Upcoming Events