IT lexicon › Database › Sequential Access Method

Sequential Access Method

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

A method of retrieving records from a file by reading them in order from start to finish — foundational to databases of the IMS era.

Sequential Access Method (SAM) is the simplest way to find data: start at the beginning of a file and read each record until you find what you want. No index structures, no complexity. SAM requires a full file scan for every lookup — fine for batch jobs that process everything, useless for interactive queries looking for one row. IBM's IMS system was built around SAM.

SAM is slow but minimal: no index overhead, no metadata updates, no locking complexity. A database that only read records in order could run on very modest hardware. As interactive queries grew more common, engineers paired SAM with indexed sequential access, which kept the sequential part but added an index on top for fast lookups.

← Back to the lexicon