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

23+-Tree Build Example

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

An example of building a “\(2-3^+\) tree

23+-Tree Search Example

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

An example of searching a “\(2-3^+\) tree

23+-Tree Delete Example

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

An example of deleting from a “\(2-3^+\) tree

B+-Tree Find

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

An example of search in a B+ tree of order four. Internal nodes must store between two and four children.

B+-Tree Insert

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

An example of building a B+ tree of order four.

B+-Tree Deletion

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

An example of deletion in a B+ tree of order four.

B+-Tree Insert (Degree 5)

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

An example of building a B+ tree of degree 5

B-Tree Space Analysis (1)

B-Tree Space Analysis (2)

B-Trees: The Big Idea