In a B+ tree, a non-leaf node of order p contains at most p block pointers (child pointers) and (p−1) search keys (it does not contain record pointers).
Let:
Block size B=1024 bytes
Search key size K=12 bytes
Block pointer size P=8 bytes
The condition for a non-leaf node to fit within one disk block is:
p⋅P+(p−1)⋅K≤B Substitute the given values:
p⋅8+(p−1)⋅12≤1024 8p+12p−12≤1024 20p−12≤1024 20p≤1036 Since p must be an integer, the maximum order is p=51.
The maximum number of keys that can be accommodated in each non-leaf node is:
Maximum keys=p−1=51−1=50