CS FundamentalsModerateGATE CS (PYQ pattern)
A RAID 6 array has 10 disks, each sustaining 200 random I/Os per second. A small read costs 1 disk I/O and a small write costs 6 (read data, two parities, write all three). For a database workload of 30% reads and 70% small writes, what is the maximum host IOPS?
- A. 645
- B. 833
- C. 1176
- D. 444
Correct answer: D. 444
Average disk I/Os per host operation = 0.3 x 1 + 0.7 x 6 = 4.5; disk capacity = 2000 IOPS; host IOPS = 2000 / 4.5 = 444. Using 4 I/Os per write (RAID 5) would give 2000 / 3.1 = 645.
More DBMS and SQL questions
- Which of the following tuple-relational-calculus expressions are SAFE (guaranteed to return a finite result for every database)? I. { t |…
- R(A, B) = {(1,a), (1,b), (2,a), (3,c), (4,a), (5,b), (5,c)} and S(B) is EMPTY. Using the standard definition R ÷ S = πA(R) − πA((πA(R) ×…
- An ER design has three strong entity sets, one weak entity set (identified through one of them), one multivalued attribute on a strong…
- Which of the following statements about ARIES recovery are correct? I. It follows write-ahead logging: a log record must reach stable…
- Which of the following statements about two-phase locking variants are correct? I. Basic 2PL guarantees conflict-serializable schedules…
- R has 100 pages and S has 50 pages. Block nested-loop join uses 12 buffer pages: 10 for a block of the outer relation, 1 for the inner and…