Open In App

What is B+ Tree | B+ Tree meaning

The B+ tree is similar to the B-tree data structure in that it is a tree structure with a fixed number of keys per node, and it is balanced so that all leaf nodes are at the same level. However, in a B+ tree, all keys are stored in the leaf nodes, while the internal nodes only contain pointers to other nodes.

B+ Tree example

Characteristics of B+ Tree:

The characteristics of a B+ tree are as follows:

Applications of B+ Tree:

Difference between B tree and B+ Tree:

Feature  B Tree  B+ Tree
Internal node keys Store keys and pointers to child nodes Store only keys, no data
Leaf node keys Store keys and data Store only keys and pointers to data
Leaf node linking Not required Linked together in a linked list
Height of tree Taller due to data in internal nodes Shorter due to only keys being in internal nodes
Memory utilization Less efficient due to data in internal nodes More efficient due to only keys being in internal nodes
Data retrieval Slower due to more disk accesses required to reach data Faster due to fewer disk accesses required to reach data

For learning more about the difference between the two refer to this article.

Advantages of B+ Tree:

Disadvantages of B+ Tree:

What else can you read?

Article Tags :