1,163 views
0 0 votes
The order of a leaf node in a B+ tree is the maximum number of (value, data record pointer),
it can hold. Given that the block size is 5 Kbyte, field is 9 byte long and a block pointer is 6
byte long, what is the order of the leaf node?

2 Answers

0 0 votes

Block Pointer = 6 bytes

Block size = 5 Kbytes = 5*1024 bytes = 5120 bytes

Search key field = 9 bytes

let us consider order of root node is 'o'

so , 

o*block pointer + (o-1)*search key field <= block size

o*6 + (o-1)*9 <= 5120

o <= 5129/15 

o=341 is the order of leaf node

0 0 votes
Formula to calculate order of internal node is :

n * (data pointer + Search key) + block pointer<= block size

n *9 + 6 <= 5 *1024

n<= 5114/9

n= 568
Position:
Show:

Related questions

0 0 votes
0 0 answers
540
540 views
amit166 asked Oct 28, 2018
540 views
Q. suppose the order of b-tree is 23. then how many index records will be stored in level 4(including root as level 1)
4 4 votes
1 answers 1 answer
1.7k
1.7k views
junaid ahmad asked Jul 12, 2017
1,702 views
Q.Unix-style I-node has 10 direct pointers,1 double indirect,1 triple indirect and 1 quadruple indirect pointer.Diskblock size is 1K Byte.if the maximum number of bytes o...
0 0 votes
1 answers 1 answer
320
320 views
Aditya_Khopade asked Nov 26, 2025
320 views
what can be answer to this question? It would be very helpful if someone gets through all the options, I did get how to attempt this question. 
1 1 vote
1 1 answer
355
355 views
_Harshit asked Sep 20, 2024
355 views
Q: What is the highest normal form of a relation R(A, B, C, D, E) with FD set?{B → A, A → C, BC → D, AC→ BE} Options:1. 2NF2. 3NF3. BCNF4. 4NF