2,358 views
3 votes
3 votes

Consider a relation R(A B C) with attribute size of A as 8 bytes. Disk block size is 512 bytes and block pointer is 8 bytes. The best choice for degree (maximum value) for B+ tree, if B+ tree was used for creating indexing on R(A B C) is _________.

1 Answer

Best answer
8 votes
8 votes

Let p be degree of B+tree internal node:

(p-1) keys + p Block pointers  should fit in a block ie  (p-1) keys + p Block pointers  size <=512

(2p-1) * 8<=512

p<=65/2 

p=32

if u take p=33node size becomes 520 bytes so not possible to fit in a block hence correct ans is 32

selected by

Related questions

0 votes
0 votes
0 answers
1
bts1jimin asked Jan 9, 2019
384 views
Can anyone suggest me any useful source from where I can read b+ tree insertion and deletion?
2 votes
2 votes
2 answers
2
aditi19 asked Nov 23, 2018
1,653 views
what is the minimum and maximum number of keys for non-leaf nodes and leaf nodes for B+ Tree of order p?
0 votes
0 votes
1 answer
3
Vishnathan asked Aug 24, 2018
8,295 views