Consider a block size 512 bytes, search key field 9 bytes long, block pointer size 6 bytes and record pointer 7 bytes long. If a level 3 B+ tree is constructed considering root as level 0, find the maximum number of entries in the B+ tree?
Open in App
Solution
Order of internal node is ⇒n∗6+(n−1)∗9≤512 ⇒6n+9n−9≤512 ⇒15n≤521 n≤34
Order of leaf node is ⇒n∗(9+7)+6≤512 ⇒16n≤506 ⇒n≤31
Maximum number of entries in level 3 B+ tree is =(34)3∗31