The actual difference
| B-Tree | B+Tree | |
|---|---|---|
| Where values live | in any node, inner nodes included 24:36 25:01 | only in leaf nodes; inner nodes are pure guide posts 25:01 |
| Key duplication | each key appears exactly once → more space efficient 25:01 | a key can appear in both a leaf and an inner node |
| On delete | key disappears from the tree entirely | removed from the leaf, but can be left behind in the inner node 25:31 |
| Range/sequential scan | must bounce up and down between levels 26:03 | descend once, then rip across the leaf linked list 26:03 |
| Point query luck | may find the value at the root and stop early 27:30 | always pays the full descent |
Why B+Tree wins
- Sequential access is the game changer. A scan descends once and then never goes back up
26:0327:58. - Leaving stale keys in inner nodes is free correctness: a deleted key still works as a separator, so why pay to clean it up
25:3141:38. - Updates are simpler than a red-black tree, which needs rotations
27:30.