













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














A balanced search tree in which every node has between m/2 and m children, where m>1 is a fixed integer. M is the order. The root may have as few as 2 children. This is a good structure if much of the tree is in slow memory (disk), since the height, and hence the number of accesses, can be kept small, say one or two, by picking a large m. M is the height of a tree, the maximum number of children of nodes in a B-tree.
A B-tree of order 4, that is, internal nodes have two, three, or four children. B-tree with m=4.
A B-tree of order 3, that is, internal nodes have two or three children.
A B-tree in which nodes are kept 2/3 full by redistributing keys to fill two child nodes, then splitting them
B+ Tree with four keys
This table shows a B+ tree. As the example illustrates this tree does not have a full index page. (We have room for one more key and pointer in the root page.) In addition, one of the data pages contains empty slots
Add to a non-full tree
The following table illustrates the addition of the record containing 95 to the B+ tree.
The following table shows the B+ tree after the deletion of 60. Notice that the tree contains a single index page.
Delete Record with Key 60