DBMS
DBMS
Data
Models
Group Members: To:
Sarbajit Paul Bappy (222-15-6155) Tamanna Sultana
Rittik Chandra Das Turjy (222-15-6289) Lecturer
Maruf Rahman (222-15-6212) Department of CSE
Most. Jannatul Firdousi Zoti (222-15- Daffodil International
6145) University
Table of
Content
•
•
Data Modeling
Importance of Data Modeling
• Types of Data Modeling
• File-Based Approach
• Hierarchical Model
• Network Model
• Relational Model
• Difference among Hierarchical,
Network and Relational Model
Data
Modeling
•A data model is a conceptual representation of
the data structures that are required by a
database.
Limitatio
• Separation and isolation of data
ns
• Duplication of data
• Incompatible File Formats
• Data dependence
• Fixed queries/proliferation of application
programs
• Inability to generate timely reports
Hierarchical
Model
• Oldest data base model. (1950's)
• Tree structure is most frequently occurring
relationship.
• Organize data elements as tabular rows.
Advantages: Disadvantage
s:
• Simplicity • Implementation complexity
• Data security • Database management problem:
• Data Integrity maintaining difficult
• Efficiency: When contains large no of • Lack of structural independence
relations • programming complexity
Network
Model
• Graph structure
• Allow more connection between nodes
• Ex: A employee work for two department is not
possible in hierarchical model, but here it is possible
Advantages: Disadvantages:
• Conceptual simplicity • System Complexity
• Handle more relationships • Absence of structural
• Ease of data access independence
• Data Integrity
• Data independence
• Database standards
Relational
Model
• Data in the form of table
• Each table → application entity
• Each row → instances of that entity
• SQL serves as a uniform interface for users providing a
collection of standard expression for storing and retrieving
data column
• Most popular database model
Advantages: Disadvantages:
• Structural independence • Hardware Overheads (Today it is not
• Conceptual simplicity a big deal...)
• Design, implementation, • Ease of design leads to bad design
maintenance and usage ease • Information island phenomena
• Query capability ⚬ It will prevent information
⚬ Very powerful integrity
⚬ Flexible ⚬ Cause redundancy
⚬ Easy to use query capability ⚬ Cause inconsistency
Comparison between hierarchical model,
network model and relational model
Characteristic Hierarchical Network Relational
model model model
• One to many or one to one • Allowed the network model to • One to One, One to Many,
relationships. support many to many Many to many
Data • Based on parent child relationships. relationships.
Structure relationship. • A record can have many parents • Based on relational data
as well as many children. structure