edited by
1,731 views
5 votes
5 votes

Let the order of B-tree is 32 and the B-tree is 63% full. What will be the number of <key,data pointer> entries the 2 level B tree holds?

edited by

1 Answer

Best answer
5 votes
5 votes

here, order = 32 and Assuming that B tree node is 63% full.

so P = ceil ( 0.63 * 32 ) = 21 

( If we take order P = 20, then utilization will be 62.5 % which is not allowed. )

so at level 0 (Root ) : 20 keys

        level 1 : 21 * 20 = 420 keys

        level 2 : 21 * 21 * 20 = 8820 keys

Hence, total =20 + 420 + 8820 = 9260 keys

selected by

Related questions

0 votes
0 votes
0 answers
1
iarnav asked Dec 15, 2017
196 views
can anyone please explain the standard/universal procedure on how to perform deletion in b+ tree with the help of an example.
0 votes
0 votes
0 answers
2
iarnav asked Dec 15, 2017
302 views
can anyone please explain the standard/universal procedure on how to perform insertion in b+ tree with the help of an example.
1 votes
1 votes
1 answer
3
casberg asked Nov 23, 2021
532 views
What is the smallest and largest number of entries for 2_3 BTree (B2_3 Tree) of height 8 (i.e 8 levels) ? 255 & 6560127 & 21866561 & 255255 & 2186
0 votes
0 votes
0 answers
4