IT lexicon › Database › Tuple-Oriented

Tuple-Oriented

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

A query style that works on one record (tuple) at a time, common in CODASYL and hierarchical databases, opposite of set-oriented.

While relational databases and SQL are set-oriented and work on a set of rows at once, old databases like CODASYL, IMS, and dBase were tuple-oriented. A program would navigate one record at a time with instructions like GET NEXT, read or update the current record, then move to the next. This style was initially fast for well-defined paths but made ad-hoc queries difficult or slow. It forced programmers to think imperatively: "here's how to traverse the structure" rather than "here's what I want."

← Back to the lexicon