CS FundamentalsHardProduct company interview · GATE level

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

  1. A. 58
  2. B. 56
  3. C. 128
  4. D. 57

Correct answer: D. 57

An internal node holds p pointers and p − 1 keys, so 8p + 10(p − 1) ≤ 1024, giving p ≤ 57.44, so the maximum integer order is p = 57.

More DBMS and SQL questions

Exams that ask this topic