Insertion into B-Trees
Overview of the method:
- find leaf node and position in node where entry would be stored
- if node is not full, insert entry into appropriate spot
- if node is full, split node into two half-full nodes and
- if parent full, split and promote
Note: if duplicates not allowed and key is found, may stop after step 1.
|