CS FundamentalsModerateGATE CS · DBMS

A B+ tree index uses 1024-byte blocks, 10-byte search keys, 6-byte block (tree) pointers and 8-byte record pointers. What is the maximum number of CHILD pointers an internal node can hold?

  1. A. 65
  2. B. 56
  3. C. 63
  4. D. 64

Correct answer: D. 64

An internal node with p children holds p block pointers and p − 1 keys: 6·p + 10·(p − 1) ≤ 1024 gives p = ⌊(1024 + 10)/(10 + 6)⌋ = 64.

More DBMS and SQL questions

Exams that ask this topic