Computer Science EngineeringVery hardISRO SC

Relations R and S occupy 200 and 80 blocks. With 22 buffer pages, block nested-loop join using R as the outer relation (1 page for the inner, 1 for output, rest for the outer) costs how many block reads?

  1. A. 1000
  2. B. 16200
  3. C. 280
  4. D. 880

Correct answer: A. 1000

Reads = b_R + ceil(b_R/(M-2)) x b_S = 200 + 10 x 80 = 1000.

More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions

Exams that ask this topic