COSI 127b Lecture Notes - Lecture 6: Parity Bit, Disk Controller, Standard Raid Levels

35 views2 pages

Document Summary

Parity uses n + 1 disks, where n disks store data bits and 1 disk stores a parity bit. An odd parity bit means the sum of all n + 1 bits is odd. If 1 disk fails, parity can be used for recovery. Raid 3 uses block striping with a dedicated parity drive. Parity requires fewer disks but it is less reliable than mirroring. Raid 5 is block striping with distributed parity. A disk controller is a hardware interface between bus and disk. The elevator algorithm has the head sweep back and forth when no requests lie ahead; thereby minimizing latency time. A buffer is an area of process space where data resides before and after disk access. The buffer manager can clear space in the buffer by using a page replacement policy. Databases often know what blocks will next be needed. Thus, the query processor can provide hints to the buffer manager.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents