IT lexicon › Database › Primary Index

Primary Index

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

An index built on the key that also determines the physical ordering of records in the file.

When a file is physically sorted by a key, the index on that key is "primary"; it enables both direct lookup and sequential scanning. All other indexes are "secondary"—they point to records in a file ordered by some other key. ISAM formalized this distinction; modern B+-trees are inherently primary.

← Back to the lexicon