Physical Storage(2020) Flashcards
1
Q
Data Storage:
Major Topics
A
- Levels of Storage
- Evaluating Storage
- Magnetic Disk Physical Components
- Data Organization
- RAID
- Techniques
- Issues
2
Q
Physical Storage:
Storage Levels
A
- Primary
- Cache
- Main Memory
- Secondary
- Flash Memory
- Magnetic Disk
- Tertiary
- Optical Disk
- Magnetic Tapes
3
Q
Primary Storage
Devices
A
- Cache
- Main Memory
4
Q
Secondary Storage
Devices
A
- Flash Memory (SSD)
- Magnetic Disk (Hard Drive)
5
Q
Tertiary Storage
Devices
A
- Optical Disk
- Magnetic Tapes
(Basically any external, sturdy storage)
6
Q
Storage Devices:
Cache Overview
A
- Primary Storage Level
- Fastest form of storage
- Volatile - only used temporarily
- Managed by the computer system hardware
- Typically multiple levels of cache
7
Q
Storage Devices:
Main Memory Overview
A
- Primary Storage Level
- Fast Access
- 10s to 100s of nanoseconds
- Generally too small/expensive to store entire databases
- Typically RAM
- Volatile
- Usually lost if power is lost
8
Q
Storage Devices:
Flash Memory Overview
A
- Secondary Storage Level
- Reads are roughly as fast at main memory
- Non-volatile
- Limited number of read/writes (10k - 1M)
- When erasing, has to wipe entire block of memory
- Write is SLOW(Micro seconds)
- Erase is slower
- USB sticks, cameras, phones, etc
9
Q
Storage Devices:
Magnetic Disk Overview
A
- Secondary Storage Level
- Non-volatile
- But disk failure can still destroy data
- Stored on spinning disk
- Read/writes magnetically
- Primary means of long term storage for databases
- Must be moved to memory for read/write (VERY SLOW)
- Can read in any order
- Rather cheap and large amounts of storage
10
Q
Storage Devices:
Optical Storage Overview
A
- Tertiary Storage Level
- Non-volatile
- Read from physical disk using a laser
- CD, DVD and Blu-Ray most popular forms
- CD is the smallest
- Some are write once, read many - (CD-R)
- Some are many writes, many reads - (CD-RW)
- Slower than magnetic disk
- “Juke Box” systems were used to store disks
11
Q
Storage Devices:
Tape Storage Overview
A
- Tertiary Storage Level
- Non-volatile
- Backup and archival data
- Sequential access
- Extremely slow
- Very High capacity
- Tape jukeboxes can store petabytes of data
12
Q
Magnetic Disk:
Components
A
- Platter (disks)
- Divided into circular “Tracks”
- Tracks broken into “Sectors”
- Spindle
- Read-Write Head
- Arm Assembly
13
Q
Magnetic Disks:
Read/Write Head
A
- Very close to the platter, almost touching
- Reads and writes data
14
Q
Magnetic Disk:
Platter
A
- Disk is split into multiple “Platters”
- Each platter is divided into circular Tracks, line lanes
- Over 50-100K Tracks per Platter
- Tracks are broken into Sectors, chunks of lanes
- Smallest unit of data that can be written
- Typically 512 bytes
- More on outer edge of platter
15
Q
Magnetic Disk:
Reading and Writing
A
- Reads/Writes accomplished via the Read/Write Head
- After Write, there is a checksum
- Read again, and check
16
Q
Magnetic Disk:
Disk Subsystem Overview
A
- Multiple Disks are connected to a computer through a main controller
- Controller manages the “big picture”
- Individual disks usually handle checksums, etc