1,309 views
0 votes
0 votes

Going with the definition, that order of a B+ tree is the maximum number of children a node can have.

What is exactly meant by the order of a leaf node? As per my understanding order of a leaf node is the number of <key,pr> pairs it can hold.

But in general when order of a B+ tree is defined in a question like, order is 5. Example:https://www.tutorialcup.com/dbms/b-tree.htm . Then we assume the leaf nodes to have keys in [n/2] to n-1(3 to 4).

If we assume the leaf can contain 5 pairs then. Then the upper limit on keys should be 5 and not 4. Could someone explain why its taken to be n-1 in every B+ tree insertion tutorial.

1 Answer

0 votes
0 votes

I am glad to answer this because I too faced this doubt at a point of time and then I simply worked on simple maths on this. Below proof will definitely clear your doubt. 

There is an assumption involved:

Size of block pointer = Size of record pointer.

Related questions

1 votes
1 votes
1 answer
2
Na462 asked Jun 29, 2018
633 views
Please Solve this question. I didn't understood the question properly so please Make Me as well :) What is meant by Leaf Page ?
3 votes
3 votes
1 answer
3
vishal chugh asked Jan 16, 2018
382 views
Can anybody explain what is meant by "Minimum Space Utilization"?
0 votes
0 votes
0 answers
4
Pawan Kumar 2 asked Dec 7, 2017
347 views
Given a B+ tree, How can we find out their sequence of insertion?