Consider the simple prefix B+ tree shown in Figure 10.7.
Suppose a key added to Block 2 results in a split of Block 2 and the consequent addition of Block 8, so Blocks 2 and 8 appear as follows: (20%)
... ——>
Bolen—Bor ——>
CAD—CAGE ——>
...
2 8
- What does the tree look like after the insertion?
- Suppose that, subsequent to the insertion, a deletion causes underflow and the consequent concatenation of Blocks 1 and 2.
What does the tree look like after the deletion?
- Describe a case in which a deletion results in redistribution rather than concatenation, and show the effect it has on the tree.