2. DATA MODEL SHOWS THE LOGICAL STRUCTURE OF A
DATABASE INCLUDING RELATIONSHIP AND CONSTRAINTS THAT
DETERMINE HOW DATA CAN STORED AND ACCESSED.
What is data model?
3. Data Model Basic Building Blocks
Entity:-Anything about which data are to be collected and
stored
Attribute:- A characteristic of an entity.
Relationship:-An association among entities.
1. One to one(1:1) relationship
2. One to many(1:M) relationship
3. Many to one(M:1) relationship
4. Many to many(M:M) relationship
4. Object Based Data Models
Physical Data Models
Record Based Logical Data Models
TYPES OF DATA MODELS
5. It uses concepts such as Entities, attributes
and relationship.
Types of object based models:
Entity Relationship
Object Oriented
Semantics
Functional
6. It describe how data is stored in the
computer, representing information such as
record structures, record ordering and
access paths.
Less no. of models are there.
7. IT IS USED TO SPECIFY THE OVERALL LOGICAL
STRUCTURE OF THE DATABASE AND TO PROVIDE
A HIGHER LEVEL DESCRIPTION OF THE
IMPLEMENTATION.
STRUCTURED DATABASE IN FIXED FORMATS.
9. Hierarchical model is one
of the oldest database in
which data is organized
into tree like structure.
This model uses a one to
many (1:M) relationship
for data elements.
Hierarchical database
were popular in early
database design, in the
era of mainframe
computers.
HIERARCHICAL DIAGRAM
11. NETWORK MODEL
In 1965 C.W.BACHMAN
developed the first
network data model to
present complex data
relationships more
effectively than
hierarchical model.
In network model the
multiple parent-child
relationships are used.
13. RELATIONAL MODEL
The most popular data
model in DBMS is the
relational data model .
In this model ,data is
organized in the terms of
rows(tuple) and
columns(attributes) in a
table known as RELATION.
The principal of relational
model were first outlined by
Dr.E.F.Codd.