6 - 0 DB Storage System
6 - 0 DB Storage System
6 - 0 DB Storage System
0 Storage System
Memory Hierarchy
The memory with the fastest access is the costliest one. Larger
storage devices offer slow speed and they are less expensive,
however they can store huge volumes of data as compared to CPU
registers or cache memory.
Magnetic Disks
Hard disk drives are the most common secondary storage devices in
present computer systems. These are called magnetic disks because
they use the concept of magnetization to store information. Hard
disks consist of metal disks coated with magnetizable material. These
disks are placed vertically on a spindle.
RAID 0
RAID 1
RAID 2 records Error Correction Code using Hamming distance for its
data, striped on different disks. Like level 0, each data bit in a word is
recorded on a separate disk and ECC codes of the data words are
stored on a different set disks. Due to its complex structure and high
cost, RAID 2 is not commercially available.
RAID 3
RAID 3 stripes the data onto multiple disks. The parity bit generated
for data word is stored on a different disk. This technique makes it to
overcome single disk failures.
RAID 4
In this level, an entire block of data is written onto data disks and
then the parity is generated and stored on a different disk. Note that
level 3 uses byte-level striping, whereas level 4 uses block-level
striping. Both level 3 and level 4 require at least three disks to
implement RAID.
RAID 5
RAID 5 writes whole data blocks onto different disks, but the parity
bits generated for data block stripe are distributed among all the data
disks rather than storing them on a different dedicated disk.
RAID 6