What happens in native SQL backups?

Filed under: Backup and Restore — SQL Stan at 10:09 pm on Tuesday, July 31, 2007

Q:  What actually goes on behind the scenes for the different types of native SQL Backups? Ie If for example my backup drive and t-log drive are physically separate to the data drive will there be any adverse effect to data access times for the database data files.

Jason Hall says: In a perfect world you would want all three files on separate drives. For example you would have your data file on drive D:, log file on drive E:, and backup files on drive F:,

Even in this scenario, data access times might be slowed slightly to your data files during the backup as the backup will be causing read IO’s to the data files in addition to the IO’s that are occuring during normal database operation. In this separated scenario you are provided the least amount of IO contention during the backup time and both your database performance and backup performance will be optimized.

A backup is very straightforward, it simply reads blocks of data from your data/log files and writes those blocks out to whichever backup device you have specified.

Technorati Tags:
, , ,

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>