Consider a B+ tree in which search key 20 bytes long, block size is 1500 bytes, record pointer is 10 bytes long and block pointer is 8 bytes long. The maximum number of keys that can be accommodated in each leaf node of the tree is _______
Open in App
Solution
49
Assume order of leaf node is P
In B+ tree,
P*Key Size +P* Record Pointer +Block Pointer ≤ Block size
P*20 + P* 10 + 8 ≤ 1500
30 P ≤ 1492