11.Indexingยง

Files and Indexing

Keys and Indexing

Linear Indexing (1)

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

Linear Indexing (2)

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

Tree Indexing (1)

Tree Indexing (2)

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

Tree Indexing (3)

Tree Indexing (4)

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

2-3 Tree

2-3 Tree Example

2-3 Tree Insertion (1)

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

2-3 Tree Insertion (2)

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

2-3 Tree Insertion (3)

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

B-Trees (1)

B-Trees (2)

  1. B-Trees are always balanced.
  2. B-Trees keep similar-valued records together on a disk page, which takes advantage of locality of reference.
  3. B-Trees guarantee that every node in the tree will be full at least to a certain minimum percentage. This improves space efficiency while reducing the typical number of disk fetches necessary during a search or update operation.
A B-tree of order four

B+-Trees

B+-Tree Example

Example of a :math:`\mathrm{B}^+` tree.

B+-Tree Insertion

Examples of :math:`\mathrm{B}^+` tree insertion.

B+-Tree Deletion (1)

Example of a :math:`\mathrm{B}^+` tree.
Simple deletion from a :math:`\mathrm{B}^+` tree.

B+-Tree Deletion (2)

Example of a :math:`\mathrm{B}^+` tree.
Deletion from a :math:`\mathrm{B}^+` tree via borrowing from a sibling.

B+-Tree Deletion (3)

Example of a :math:`\mathrm{B}^+` tree.
Deletion from a :math:`\mathrm{B}^+` tree via collapsing siblings

.

.

B-Tree Space Analysis (1)

B-Tree Space Analysis (2)

B-Trees: The Big Idea