IT lexicon › Database › Dense Index

Dense Index

Database På svenska → Updated: 2026-11-11

An index with one entry for every record in the main file, guaranteeing a hit for any key value.

In a dense index, there's an index entry for *every* record in the main file, regardless of the key value. The opposite is a "sparse" index, which only has entries for certain records—typically the first record in each block or first records with a unique key value. Dense indexes waste disk space but offer simpler code; sparse indexes are more economical but require sequential search within ranges.

← Back to the lexicon