I am reviewing quote for a server upgrade. (RHEL).
The server will have both Apache and MySQL on it, but the reason for upgrade is to increase DB performance. CPU has been upgraded massively, but I know that disk speed is also a factor.
So RAID 10 is faster performance than RAID 5, but how much difference does the drive speed make?
(The 15k discs in the RAID 5 config is at the top of my budget btw, hence not considdering 4x15k discs in RAID 10, which I assume would be the optimum.)
Here's the corner-of-the-napkin calculation:
10K drive - 150IOPS, 15K drive - 180IOPS (these numbers are used for example by EMC for array sizing).
RAID10 read performance - 600IOPS. RAID5 read performance - 540IOPS (no penalties, straightforward multiple).
RAID10 write performance - 300IOPS (each block goes to two spindles). RAID5 write performance - 135 IOPS (you have 540IOPS potential with three disks, but each write actually consists of two reads (data and parity) and two writes (new data and new parity)).
These numbers, of course don't take into account controller caching and optimizations, so RAID5 will probably be slightly better than 1/3 of RAID10 performance on write. But this is a good ballpark number anyway.
Of course, if this is a data warehouse, you won't care about write performance. Otherwise, definitely go with RAID10.
The advantage of RAID 10 will be in write performance, so the correct answer really depends on whether or not your database is doing a lot of writing to disk, and whether or not performance matters with this writing.
Bear in mind that RAID 10 can offer a layer of resilience that RAID 5 doesn't have; you can afford to lose 2 disks (provided they're not a mirrored pair) due to hardware failure with RAID 10, but that will kill your array with RAID 5. This may outweigh any read performance gains from 15k RAID 5, and may also outweigh the disadvantage of having less usable storage.
Currently my answer would be none of them. Unless you need lots of bulk storage go for SSD. For database applications they beat the spinning disks easily, raid or no raid. The cost per gig is just a little bit higher than the 15k disks today, and you don't need any raid solution unless you feel that they don't offer enough space.
If that is not an alternative my answer would be a firm "it depends". The performance will depend a huge lot on your raid controller, probably more than your hard disks.
edit: Compare to the IOPS calculations in other posts here:
Intel X25-M G2 180G:
You won't ever get close to those speeds for random load (which is what most DB load is) on a spinning disk.