Introduction-to-Data-Models-in-DBMS (3)
Introduction-to-Data-Models-in-DBMS (3)
Models in DBMS
Data models are the fundamental building blocks of database
management systems (DBMS). They provide a structured way to
represent, store, and manipulate data, enabling efficient data storage,
retrieval, and management. Understanding the evolution and
characteristics of various data models is crucial for designing effective
database solutions that cater to the diverse needs of modern applications.
by Soham Sontale
Hierarchical Data Model
Parent-Child Relationship 1
The hierarchical data model organizes data in a
tree-like structure, where data is arranged in a
parent-child relationship. Each parent node can 2 Navigation and Traversal
have multiple child nodes, but each child node can Data is accessed and traversed through the
have only one parent. hierarchical structure, typically starting from the
root node and navigating down to the desired child
nodes. This model is well-suited for applications
Limitations 3 with well-defined and stable relationships, such as
The hierarchical model's rigid structure can make it organizational structures or bill of materials.
challenging to represent complex relationships and
can lead to data redundancy, as data may need to
be duplicated across multiple levels of the hierarchy.
Network Data Model
Flexible Relationships Navigational Access Increased Complexity
The network data model builds upon Data is accessed and traversed The network model's increased
the hierarchical model by allowing through explicit paths defined by the flexibility can also lead to greater
many-to-many relationships between network of relationships. This model is complexity in the database design and
data elements. This flexibility enables well-suited for applications that management. Maintaining the integrity
the representation of more complex require complex, non-hierarchical data of the network structure and ensuring
data structures and relationships. structures, such as logistics and efficient data access can be
transportation systems. challenging.
Relational Data Model
Entities Relationships
The ER model represents the real- The ER model captures the
world objects or concepts as associations between entities,
entities, which are the fundamental allowing for the representation of
building blocks of the model. complex data structures and
interactions.
Attributes ER Diagrams
Entities and relationships in the ER ER diagrams are a visual
model are further described by representation of the ER model,
their attributes, which provide providing a clear and intuitive way
additional details and to design and communicate
characteristics. database structures.
Evolution of Data Models
1 2 3 4