Network Data Model
Network Data Model
The Network Data Model is a database model where data is represented as a collection of
records connected by relationships. Unlike the hierarchical data model, which enforces a
strict tree-like structure, the network data model uses a graph-like structure that allows
many-to-many relationships among data entities.
Key Concepts
1. Records:
• A record represents an entity, similar to a row in a table.
• Each record has fields, which are the attributes of the entity.
2. Sets:
• A set is a relationship between two record types: one acts as the owner, and
the other acts as the member.
• This is analogous to a parent-child relationship but allows multiple ownerships.
3. Links:
• Links represent the connections between records in the model.
• Each record can have multiple links to other records, enabling complex
relationships.
4. Schema:
• The schema defines the structure of the network, including record types, fields,
and relationships.
Example Links:
• A Student can enroll in multiple Courses.
• A Course can have multiple Students enrolled.
• A Professor can teach multiple Courses.