Study this topic

Indexing: Primary, Clustering, Secondary and Multilevel Indexes

An index is an auxiliary file that speeds up search on a field, the indexing field or search key. Index entries are much smaller than data records, so a search through the index reads far fewer blocks than a search through the data file.

Short notes9 min read

B-Trees and B+ Trees

A static multilevel index from Indexing must be rebuilt as the file grows. B-trees and B+ trees are multilevel indexes that stay balanced under inserts and deletes: every leaf is at the same depth, and every node except the root is at least half full.

Short notes11 min read