Docsity

Data Models, Relational Database, Normalization, Assignments of Database Management Systems (DBMS)

Toggle sidebar
bg1
Comparison of Database Models
Among the five data models explained above, I will be comparing these three models;
Hierarchical model, Network model and Relational model:
On the basis of Hierarchical model Network model Relational model
Relationship Depends on one-to-one
or one-to-many
relationship
Depends on many-to-
many relationship
Depends on one-to-one,
one-to-many and many-
to-many relationship
Data structure One parent can have
multiple children but
one child can have only
one parent
One parent can have
children and one child
can have multiple
parents
Based on relation data
structure in which data
are represented as
tables with no entry
containing more than
one value
Data manipulation Retrieval algorithms
are asymmetric and
complex
Retrieval algorithms
are symmetric and
complex
Retrieval algorithms
are symmetric and
simple
Data integrity while
inserting data
Cannot insert
information of child
who does not have
parent
Free from insertion
anomaly
Free from insertion
anomaly
Data integrity while
updating data
Multiple occurrences of
child records may lead
to inconsistency in
update operation
Free from update
anomalies
Free from update
anomalies due to
normalization process
Data integrity while
deleting data
Deletion of parent
record deletes all
underlying children
records
Free from delete
anomalies
Free from delete
anomalies
pf2

Partial preview of the text

Download Data Models, Relational Database, Normalization and more Assignments Database Management Systems (DBMS) in PDF only on Docsity!

Comparison of Database Models

Among the five data models explained above, I will be comparing these three models;

Hierarchical model, Network model and Relational model:

On the basis of Hierarchical model Network model Relational model Relationship Depends on one-to-one or one-to-many relationship Depends on many-to- many relationship Depends on one-to-one, one-to-many and many- to-many relationship Data structure One parent can have multiple children but one child can have only one parent One parent can have children and one child can have multiple parents Based on relation data structure in which data are represented as tables with no entry containing more than one value Data manipulation Retrieval algorithms are asymmetric and complex Retrieval algorithms are symmetric and complex Retrieval algorithms are symmetric and simple Data integrity while inserting data Cannot insert information of child who does not have parent Free from insertion anomaly Free from insertion anomaly Data integrity while updating data Multiple occurrences of child records may lead to inconsistency in update operation Free from update anomalies Free from update anomalies due to normalization process Data integrity while deleting data Deletion of parent record deletes all underlying children records Free from delete anomalies Free from delete anomalies

As a whole, in conclusion, data model can be defined as a set of rules and standards which helps

in understanding how database stores and organizes the data. How the users view the data of an

organization is also available in database model. Apart from above mentioned bases, hierarchical

model is less flexible than network and relational model since adding new models since adding

new relationships in hierarchical model can result in extensive change in whole data structure

and we need to change the whole existing application.