next up previous
Next: B-Tree File Organization Up: B-Tree Index Files Previous: Queries on B-Trees

Updates on B tex2html_wrap_inline829 -Trees

  1. Insertions and Deletions:

    Insertion and deletion are more complicated, as they may require splitting or combining nodes to keep the tree balanced. If splitting or combining are not required, insertion works as follows:

    If splitting or combining are not required, deletion works as follows:
  2. Insertions Causing Splitting:

    When insertion causes a leaf node to be too large, we split that node. In Figure 11.8, assume we wish to insert a record with a bname value of ``Clearview''.

  3. Deletions Causing Combining:

    Deleting records may cause tree nodes to contain too few pointers. Then we must combine nodes.

  4. To summarize:

next up previous
Next: B-Tree File Organization Up: B-Tree Index Files Previous: Queries on B-Trees

Osmar Zaiane
Mon Jul 13 13:28:03 PDT 1998