Data Models
Data Models
Database Availability
Database Backup
Database Restore
Database Design
Database Move
Database Upgrade
Database Security
Capacity Planning
Database Monitoring
Error Log Review
Database Model
o is a data model for a database system. It provides a theory or
specification describing how a database is structured and used.
o Hierarchical model
o Network model
o Relational model
o Object-Relational model
o Object-oriented model (or short, object model)
o Multi-dimensional model
o Semi-structured model
o Multimedia data model
Hierarchical model
First important database model
Developed in the late ’50s
Data organized as tree-structured networks of
flat records
IBM Information Management System (IMS) one
of the most successful DBMS
Developed since 1966
Used until today
Important concepts of hierarchical model still
Pros
The model allows us easy addition and deletion of new information.
Data at the top of the Hierarchy is very fast to access.
It worked well with linear data storage mediums.
It relates well to anything that works through a one to many relationships.
For example; there is a president with many managers below them, and
those managers have many employees below them, but each employee has
only one manager.
Cons
It requires data to be repetitively stored in many different entities.
Now a day there is no longer use of linear data storage mediums
Searching for data requires the DBMS to run through the entire model from
top to bottom until the required information is found, making queries very
slow.
This model support only one to many relationships, many to many
relationships are not supported.
Network model
Developed in the late ’60s by Charles Bachman
Database extension to the data model of the
successful COBOL programming language
Data organized as arbitrary networks of flat records
Became an official standard in 1969
Influenced object-oriented data(base) models
developed later on
Pros
The network model is conceptually simple and easy to design.
The network model can represent redundancy in data more effectively
than in the hierarchical model.
The network model can handle the one to many and many to many
relationships which is real help in modelling the real-life situations.
The data access is easier and flexible than the hierarchical model.
The network model is better than the hierarchical model in isolating
the programs from the complex physical storage details.
Cons
All the records are maintained using pointers and hence the whole
database structure becomes very complex.
The insertion, deletion and updating operations of any record
require the large number of pointers adjustments.
The structural changes to the database is very difficult.
Relational model
Cons
Mapping of objects in relational database is very difficult.
Object oriented paradigm is missing in relation model.
Data Integrity is difficult to ensure with Relational database.
Relational Model is not suitable for huge database but suitable for
small database.
Hardware overheads are incurred which make it costly.
Relational database system hides the implementation complexities
and the physical data storage details from the users.
Advantages
Drawbacks