30.06.2013 Views

SQL Server Backup and Restore - Simple Talk

SQL Server Backup and Restore - Simple Talk

SQL Server Backup and Restore - Simple Talk

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2: Planning, Storage <strong>and</strong> Documentation<br />

For the added cost <strong>and</strong> complexity of SAN storage, you have access to storage space far<br />

in excess of what a traditional DAS system could offer. This space is easily exp<strong>and</strong>able<br />

(up to the SAN limit) simply by adding more disk array enclosures (DAEs), <strong>and</strong> doesn't<br />

take up any room in the physical server. Multiple database servers can share a single SAN,<br />

<strong>and</strong> most SANs offer many additional features (multiple RAID configurations, dynamic<br />

snapshots, <strong>and</strong> so on).<br />

SAN storage is typically provided over a fiber optic network that is separated from<br />

your other network traffic in order to minimize any network performance or latency<br />

issues; you don't have to worry about any other type of network activity interfering<br />

with your disks.<br />

RAID 5 vs. RAID 10<br />

There is some debate over which of these two High Availability RAID configurations is<br />

best for use when storing a relational database. The main point of contention concerns<br />

the write penalty of recalculating the parity data after a write in a RAID 5 disk array.<br />

This was a much larger deal for RAID disks a few years ago than it is in most of today's<br />

implementations. The parity recalculation is no longer an inline operation <strong>and</strong> is done by<br />

the controller. This means that, instead of the parity recalculation happening before you<br />

can continue with I/O operations, the controller takes care of this work separately <strong>and</strong> no<br />

longer holds up the I/O queue. You do still see some overhead when performing certain<br />

types of write, but for the most part this drawback has been obfuscated by improved<br />

hardware design.<br />

Nevertheless, my general advice, where a choice has to be made, is to go for a RAID 10<br />

configuration for a database that is expected to be subject to "heavy writes" <strong>and</strong> RAID 5<br />

for read-heavy databases. However, in a lot of cases, the performance gain you will see<br />

from choosing one of these RAID configurations over the other will be relatively small.<br />

57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!