CS FundamentalsHardDeloitte · IBM campus pattern

A B+ tree internal node is built on a key of 6 bytes. A disk block is 512 bytes and a block pointer is 6 bytes. What is the maximum order p (number of child pointers) of an internal node?

  1. A. 85
  2. B. 43
  3. C. 44
  4. D. 42

Correct answer: B. 43

An internal node holds p pointers and p − 1 keys, so 6p + 6(p − 1) ≤ 512, giving p ≤ 43.17, so the maximum integer order is p = 43.

More DBMS and SQL questions

Exams that ask this topic