IT lexicon › Database › Child-parent relationship

Child-parent relationship

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

In network databases, a connection between two record types where one is the owner and one is a member, forming an ordered collection of records.

The CODASYL standard for network databases used child-parent relationships to structure data into sets. The parent (owner) corresponds to one record type that owns one or more child records (members), enabling efficient navigation without relying entirely on query languages. This was an alternative to the purely relational model's join operations, allowing programs to "traverse" between records via explicit pointer paths.

The relationship was established through schema definition, declaring which record types could own which others. At runtime, instances of these relationships were created—each child record could belong to only one parent object, forming a tree or directed acyclic structure. This was a critical mechanism in systems like IMS and CODASYL databases from the 1970s and 1980s.

← Back to the lexicon