IT lexicon › Database › File organization

File organization

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

The physical arrangement of records on disk—sequential, indexed, or direct access—that affects access speeds.

File organization is the physical layout of records on secondary storage (disk or magnetic tape). Sequential organization stores records in running order; sequential reads are fast but searching requires linear scanning. Indexed organization builds indexes on selected fields for faster searches but uses more disk space. Direct access (hashing) computes record location from the key value, making direct lookups very fast but impossible for range queries.

Early database systems required programmers to explicitly choose file organization—there was no automatic tuning. Btrieve and ISAM offered multiple choices; later relational systems hid this behind abstractions, letting cost-based optimization choose strategy. Choosing the wrong organization could make a database completely unusable for large datasets.

← Back to the lexicon