若转载请于明显处标明出处:http://www.cnblogs.com/kelamoyujuzhen/p/8980696.html
RAID stands for Redundant Array of Inexpensive (Independent) Disks.
On most situations you will be using one of the following four levels of RAIDs.
- RAID 0
- RAID 1
- RAID 5
- RAID 10 (also known as RAID 1+0)
In all the diagrams mentioned below:
- A, B, C, D, E and F – represents blocks
- p1, p2, and p3 – represents parity(奇偶校验)
RAID LEVEL 0
![](https://images2018.cnblogs.com/blog/383260/201805/383260-20180502154519861-817849406.png)
Following are the key points to remember for RAID level 0.
- Minimum 2 disks.
- Excellent performance ( as blocks are striped ).
- No redundancy ( no mirror, no parity ).
- Don’t use this for any critical system.
RAID LEVEL 1
![](https://images2018.cnblogs.com/blog/383260/201805/383260-20180502154855610-942122374.png)
Following are the key points to remember for RAID level 1.
- Minimum 2 disks.
- Good performance ( no striping. no parity ).
- Excellent redundancy ( as blocks are mirrored ).
RAID LEVEL 5
![](https://images2018.cnblogs.com/blog/383260/201805/383260-20180502154928093-2119466047.png)
Following are the key points to remember for RAID level 5.
- Minimum 3 disks.
- Good performance ( as blocks are striped ).
- Good redundancy ( distributed parity ).
- Best cost effective option providing both performance and redundancy. Use this for DB that is heavily read oriented. Write operations will be slow.
RAID LEVEL 10
![](https://images2018.cnblogs.com/blog/383260/201805/383260-20180502154948117-887438225.png)