While designing database, we need to describe the structure of a database, how data are organized and how they are related with each other. This is done by following appropriated database model. Thus, Database is a collection of conceptual tools describing data, relationships etc. There are several database models used. Some of them are explained below.
Types of Database Model
These are the oldest and old-fashioned database model in which records are logically organized into a hierarchy of relationships. A hierarchical database is arranged logically in an inverted tree pattern. All records in hierarchy are called nodes i.e. either parent node or child node which are related to the each others in a parent-child relationship. Each parent record may have one or more child records, each can have only one parent. The top level record in the hierarchy is called the root record.
Advantages of hierarchical database model
Disadvantages of hierarchical database model
Network database model is a modified version of the hierarchical database that overcomes the limitation of hierarchical model. In Hierarchical single child not can’t have multiple parents rather in network database model each node (child) may have several parents. A network database model views all records in sets. The network database model has a higher level of flexibility than hierarchical. It is easier to restructure the information stored in this structure, since the path of relationship enables to store member records in an arbitrary manner. As the number of nodes in the network increases operation and maintenance of this structure becomes complicated. It is less user-friendly and secured when compared to the hierarchical structure.
Advantages of Network Database Model
Disadvantages of Network Database Model
In a relational database model, data are arranged in two-dimensional table I.e. in rows and column, which are easy for a user to develop and understand. This type of model can also be described through mathematical relations. In general people often work with tabular form data, it is easy for most of them to understand the structure used in a relational database as data are in table. The name relational database model is derived from the fact that each table represents a relation, and each row of table corresponds to a single record of the database. It is a highly flexible to program and retrieve data. It can be efficiently used even with a computer which has limited memory and processing capability. It is much easier to use since it enables the computer system to accommodate different types of enquiries in an efficient manner. But, its processing efficiency is comparatively low; no processing can be done without establishing the data relationships. Example
Advantages of relational database model
Disadvantage of relational database model