Chapter 16 Disk Storage, Basic File Structures, Hashing, and Modern Storage Architectures

Databases are stored physically as files of records, which are typically stored on magnetic disks. Computer storage media form a storage hierarchy that includes three main categories:

Secondary Storage Devices

Most databases are stored on disks:

There are two main types of disk drives:

  1. Electrical: Solid state drive (SSD).
  2. Mechanical: Hard disk drive (HDD).

SSDs are faster, more durable, more compact, quieter, and consume less energy. However, HDDs are more affordable and may offer easier data recovery in the event of damage.

Hard Disk Drive

As denoted in the name, disks are made up of thin circular-shaped magnetic material, as shown below:

Figure 16.1 A single-sided disk and disk pack with read/write hardware.

Figure 16.1 A single-sided disk and disk pack with read/write hardware.

In Figure 16.1: