Data Model in Dbms
Data Model in Dbms
BY :
Megha Yadav
Data Model
While the Relational Model is the most widely used database model, there are
other models too:
• Hierarchical Model
• Network Model
• Entity-relationship Model
• Relational Model
Entity - Relationship Model
• Tuple- A row of the table is called a tuple. It stores the data details
according to the table schema.
• Column- A column of the database represents the same form of data.
Example - In the above database, Name represents names of all the
employees.
• Relational Schema - A relational schema defines the table name and
its attributes.
Network Database Model
• The network database model was created to solve the shortcomings of the
hierarchical database model.
• In this type of model, a child can be linked to multiple parents, a feature that
was not supported by the hierarchical data model.
• The parent nodes are known as owners and the child nodes are called members.
• the hierarchical tree is replaced by a graph, which allows for more basic
connections with the nodes.
1
• The network model was created to represent complex data relationships more effectively than the
hierarchical model, to improve database performance, and to impose a database standard.
• In the network model, the user perceives the network database as a collection of records in 1:M
relationships. However, unlike the hierarchical model, the network model allows a record to have more
than one parent.
• While the network database model is generally not used today, the definitions of standard database
concepts that emerged with the network model are still used by modern data models.
Advantages of Network Model
• The network model can support many to many relationships and handle
many to many relationships where the hierarchical data model didn’t.
Disadvantages of Network Model
• There are some disadvantages in the network model even though it is an improvement over the
hierarchical model.
• The network model is much more complicated than the Hierarchical model. As such, it is difficult
to to handle and maintain.
• Although the Network model is more flexible than the Hierarchical model, it still has flexibility
problems. Not all relations can handled by assigning them in the form of owners and members.
• The structure of the Network Model is quite complicated and so the programmer has to
understand it well in order to implement or modify it.
Hierarchical Model
• Complex implementation
• Difficult to manage