Similar questions 2 more →
Indexing, Storage & Query Processing



Answer & solution
Answer: Root [4]; linked leaves [1,2,3] → [4,5,6]. (no official key was published)
The requested final tree is:
[4]
/ ╲
[1 2 3] → [4 5 6]The first five keys fit in the single root-leaf. Inserting 6 overflows its capacity to six keys, so divide its sorted entries evenly into [1,2,3] and [4,5,6]. Create an internal root with separator 4, the minimum of the right child. A search for a key below 4 chooses the left child and a search for 4 or greater chooses the right. Because this is a B+-tree, copying 4 to the parent does not remove 4 from the leaf. The arrow denotes the leaf-level successor link. The stem does not define its separator convention; a max-left convention can instead display root[3] with the same leaves. Here and in subsequent parts the minimum-of-right convention is fixed explicitly.