Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 2

Comparison Between Hierarchical model Network model Relational model

Hierarchical Model:
It was developed by IBM in 1968 and it is introduced in IMS (Information Management
System). This model is like a structure of a tree with the records forming the nodes and
fields forming the branches of the tree.

Network Model: In network database structure, a record type can have multiple
owners. In network model, data are represented by records using links among
them. It is an improvement over the hierarchical model, here we can have many to
many relationships (M:M) among records.

Relational Model:
In a Relational Database Model, data is organized in the form of rows and columns
similar to a table. The tables are referred to as relations in a relational data model.
Rows of the table are referred to as tuples and the columns of a table are referred
to as attributes.

Hierarchical model vs Network model vs Relational model:


Hierarchical Data Model Network Data Model Relational Data Model
1. Relationship between 1. Relationship between 1.Relationship between records is
records is of the parent child records is expressed in the represented by a relation that
type. form of pointers or links. contains a key for each record
involved in the relationship.

2. Many to many relationship 2. Many to many 2. Many to many relationship can be


cannot be expressed in this relationship can also be easily implemented.
model implemented in this model

3. It is a simple, 3. Record relationship 3. Relationship implementation is


straightforward and natural implementation is quite very easy through the use of a key or
method of implementing complex due to the use of composite key field.
record relationships. pointers.

4. This type of model is useful 4. Network model is useful 4. Relational model is useful for
only when there is some for representing such representing most of the real world
hierarchical character in the records which have many to objects and relationships among
database. many relationships. them

5. Searching for a record is 5. Searching for a record is 5. A unique, indexed key field is used
very difficult since one can easy since there are multiple to search for a data element.
retrieve a child only after access paths to a data
going through its parent element.
record.

6. In Hierarchical model 6.In Network model record 6. Relational model does not
record relations are physical. relations are physical. maintain physical connection among
records, data is organized logically in
the form of rows and columns and
stored in table.

7. During updation or deletion 7. No problem of 7. Data integrity maintaining


process, chances of data inconsistency exists in methods like Normalization process
inconsistency is involved. Network model. are adopted for consistency.

You might also like