1/3
Disks and Files
Explain why Storage is important for the Database

Explain the memory hierarchy.
CPU (with registers):
used for immediate instruction execution (sofortige Auftragsausführung)
(CPU) caches:
automatically store recently (zuletzt) used data
critical for performance because they reduce CPU stalls
main memory:
holds active programs and data
acts as the primary working area for the OS and DBMS
hard disks/SSDs:
microseconds for reads, slower for writes
used for persistent storage
tape library:
Used for backups and archival data
=> fast but small and expensive memory is close to the CPU
==> large but slow memory at the periphery
=> each layer cache (zwischenspeichern) the one below it

Explain difference between latency time and access time.
Latency = time until the first byte arrives → How long does it takes before the CPU can start using the data
Access time = latency + transer time
Name different capacity. Start with the smallest and end with the largests.
bytes
kilo-/megabytes
gogabytes
terabytes
petabytes