Midterm Flashcards
(35 cards)
Disk Capacity
Hard Drive Size
Access Time
Time from request to start of data transfer
Seek Time
Time for arm to reach track
Rotational Latency
Time for sector to appear under head
Transfer Time
Time to transfer data to memory
Disk arm scheduling algorithm purpose
Minimizes arm movement
Buffering purpose
Temporary storage for satisfying future requests
Mean Time to Data Loss dependencies
MTTF and MTTR (repair)
Cylinder
Track for all the platters in a disk. 10 tracks, 10 cylinders. Cylinder i contains ith track of all platters
Disk Controller
Interfaces between software and hardware
Block
Contiguous sequence of sectors from a single track. Smaller blocks result in more transfers, larger blocks result in wasted space.
RAID 0
Block striping, non-redundant. Good for high performance where data loss is acceptable.
RAID 1
Block striping with mirroring. Good for write-heavy applications, ex. logging.
RAID 3
Bit interleaved parity. Using a parity bit disk. Data can be recovered using XOR. Good for data transfer, not ideal for I/O. Not used often since single block reads need to access all disks.
RAID 4
Block interleaved parity. Block level striping. Keeps parity on a separate disk. Better I/O than RAID 3, but typically 5 is used over 4.
RAID 5
Block interleaved distributed parity. Partitions data and parity among all N+1 disks. Good for low update rates with large amounts of data.
RAID 6
P + Q Redundancy. Similar to 5 but with redundant information to protect against multiple disk failures. Growing in popularity.
Default SQL Deletion Strategy if referenced elsewhere
Rejection
Cascade Delete
Delete from tables where appears
5 + Null =
Null
Null or True
True
Null or False
Null
Null or Null
Null
True and Null
Null