in Databases
1,382 views
0 votes
0 votes
Does values in Leaf nodes of B+ tree repeats or ever leaf node has an unique value?
in Databases
by
1.4k views

3 Comments

In B+ we have only key's present in a non-leaf and same key's are present and leaf with the the record pointer pointing to actual record.
2
2
Yes values in Leaf node will be occur once in non-leaf node. At leaf node it will point to actual record.
1
1

 junaid ahmad Ashwin Kulkarni Thank you fellow members! :)

0
0

1 Answer

0 votes
0 votes

==>in the B+ tree values  occur only in leaf node but keys can be occur any where in the B+ tree

now here first we note down that

==> the key present in the any non leaf should also be present in the leaf node but reverse is not true

==>  in the leaf node each key is associated with a value and this is known as keys value pair

==> each key value pair occur only once in the leaf nodes and that values will point to the records

==> maximum numbers of key value pair present in any  leaf node is called degree of the leaf nodes in  the B+ tree

2 Comments

any reference?

Order and key has difference

but is value and key has difference?
0
0
0
0

Related questions