Based on what I have read:
RAID 0+1 is better for drives that have a high write IO, as they do not need to calculate parity while writting the data to the drives. Within a database the Transaction Logs are mostly write, with very few reads if any. (Basically your transaction log backups and system startup is when the logs are read.)
Taking the same number of drives (in this case we will use 4 drives) a RAID 5 will give us better read speed. In a 0+1 array you only have 2 drives to read from. Assuming SCSI3 UltraWide at ~80MB/sec that's a total max throughput of 160 MB/sec. Now with our RAID 5 array we have 4 drives, reading from 3 of them now gives us a through put of approx 240 MB/sec. Keep in mind that you only have to calculate parity when writting to the disk, not when reading.
The same numbers work with seek times. With a 0+1 you only have 2 drive heads seeking, with a RAID 5 array you have 3 heads seeking. Since I don't know the forumla to figure this out, I won't put any stats.
The RAID 5 makes more sence on a cost basis. With the RAID 5 array you get more storage for your money. With the RAID 0+1 you buy 4 drives, but only get the space of 2 of them. With the RAID 5 array you buy 4 drives, and get the space of 3 of them.
You have basically the same reduncency between the two with 4 drive arrays. With a raid 0+1 you can technically loose 2 drvies, but they have to be in the same raid 0 array. And once you loose one drive from a raid 0 array, you only have a RAID 0 array for your data. With a RAID 5 array you can only loose one drive. If a second drive is lost the array is lost.
This is where hot spairs come into play. I recommend always having a hot spare if your RAID controller supports it. If you aren't farmiler with hot spairs, the idea is this. You have 4 drives plus a hot spare. Drives 0, 1, 2 and 3 are in the array (doesn't matter RAID 0+1, 4, 5, etc). Drive 4 is the hot spare. Drive 2 dies. The raid controller will rebuild the array putting drive 4 into drive 2's logical place in the array. Meaning that you can now replace drive 2, and make it the hot spare. This gives you the change to blow 2 drives before you have a problem. While this is rare it can happen, so replace that hot spare often.
You know sometimes I think I should write a book on all this stuff.
Let me know if you've got any more questions.
Denny
--Anything is possible. All it takes is a little research. (Me)
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)