Indexed file
A data file organized so that a separate index structure can quickly locate records by key — the opposite of sequential scanning.
An indexed file stores records with a companion index (usually a tree) that points directly to them. To find a record, follow the index to the right place and jump there; no need to read everything before it. A file can have multiple indexes on different columns — one on user ID, one on email, one on login date — each pointing to the same records from a different angle.
Indexed files revolutionized databases in the 1960s and 70s. Before them, everything was sequential; after them, interactive queries became possible. ISAM and later B+-tree indexes became the standard way to implement this pattern.