Binary Search Tree

Balanced BST

M-way Trees

image.png

M-way Tree: child0 < key0 < child1 < key1 < ... < key(m−2) < child(m−1)

Let n = the order (or fan-out) of the tree (this is our M)

B+ Trees

B+ Trees are M-Way (or K-Way) trees with a high fan-out (n)

Keys in each node are in order

| child0 | k0 | child1 | k1 | child2 | ...

| rptr1 | key1 | rptr2 | key2 | rptr3 | key3 | nextLeaf |

B+ Trees Index

Capacity Requirement: