SlideShare a Scribd company logo
2
Most read
3
Most read
21
Most read
DIFFERENT DATA
MODELS
Create By : Madusha Udayangani
Esoft Metro campus (kurunegala)
HND com- 15
10086
•A data model is a conceptual representation of the data
structures that are required by a database.
•To use a common analogy, the data model is equivalent
to an architect's building plans.
•A data model is independent of hardware or software
constraints.
DATA MODELING
IMPORTANCE OF DATA MODELS
• Data models
 Representations, usually graphical, of complex real-
world data structures
 Facilitate interaction among the designer, the
applications programmer and the end user
• End-users have different views and needs for data
• Data model organizes data for various users
TYPE OF DATA MODELS
• FILE BASED APPROACH
• Hierarchical Model
• Network Model
• Relational Model
• ER Model
• Object Oriented Model
• Object Relational Model
• Deductive / Inference Model
FILE BASED APPROACH
• A collection of un-related files and a collection of application
programs that perform services for the end-users, such as the
production of reports. Each program defines and manages its
own data.
1.Traditionally each department in a company would maintain its own
collection of files.
2.The data processing department would write programs for each
application each office needed performed.
•Separation and isolation of data
•Duplication of data
•Incompatible File Formats
•Data dependence
•Fixed queries/proliferation of application programs
•Inability to generate timely reports
LIMITATIONS OF THE FILE-BASED
APPROACH
HIERARCHICAL MODEL
• Oldest data base model. (1950’s)
• Tree structure is most frequently occurring relationship.
• organize data elements as tabular rows
Advantages
• Simplicity
• Data security
• Data Integrity
• Efficiency : When contains large no of relations
Disadvantages
• Implementation complexity
• Database management problem : maintaining difficult
• Lack of structural independence
• 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
• Conceptual simplicity
• handle more relationships
• Ease of data access
• Data integrity
•Data independence
• Database standards
Disadvantages
• System Complexity
• Absence of structural independence
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
• Most popular database model
Formal Relational terms Informal Equivalence
Relation Table
Tuple Row/record
Cardinality of relation Number of rows
Attribute Columns/field
Degree of relation Number of columns
Primary Key Unique identifier
Domain A pool of values from
which the values of
specific attributes of
specific relations are
taken
Advantages
• Structural independence
• Conceptual simplicity
• Design , implementation , maintenance and
usage ease
•Query capability
•Very powerful
•Flexible
•Easy to use query capability
Different data models
The main highlights of relations model
•Data is stored in tables called relations.
•Relations can be normalized.
•In normalized relations, values saved are atomic values.
•Each row in a relation contains a unique value.
•Each column in a relation contains values from a same
domain.
Comparison between
hierarchical model, network
model and relational model
Characteristic Hierarchical
model
Network model Relational
model
Data structure • One to many or one
to one relationships.
• Based on parent child
relationship.
• Allowed the network
model to support
many to many
relationships.
• A record can have
many parents as well
as many children.
• One to One,
One to many, Many to
many relationships.
• Based on relational
data structures.
Data manipulation • Does not provide an
independent stand
alone query interface
• retrieve algorithms
are complex and
asymmetric
• CODASYL (Conference
on Data Systems
Languages)
• Retrieve algorithms
are complex and
symmetric
• Relational databases
are what brings many
sources into a
common query (such
as SQL)
• Retrieve algorithms
are simple and
symmetric
Characteristic Hierarchical
model
Network model Relational model
Data integrity • Cannot insert the
information of a
child who does not
have any parent
• Multiple
occurrences of child
records which lead
to problems of
inconsistency during
the update
operation
• Deletion of parent
results in deletion of
child records
• Does not suffer
form any insertion
anomaly.
• Free from update
anomalies
• Free from delete
anomalies
• Does not suffer
from any insert
anomaly.
• Free form update
anomalies
• Free from delete
anomalies
 
why relational model best fits
the DAD assignment scenario
• Tables are basic building blocks of a
relational database.
• Keys are central to the use of relational
tables.
• Keys define functional dependencies
 Candidate key
 Primary key
 Secondary key
 Foreign key
• Each table row must have a primary key which uniquely identifies all
attributes
• Tables can be linked by common attributes. Thus, the primary key of one
table can appear as the foreign key in another table to which it is linked
• The relational model supports relational algebra functions: SELECT,
DELETE, LIKE, UPDATE, OR AND.
• Good design begins by identifying appropriate entities and attributes and
the relationships among the entities.
REFERENCES
- http://www.tutorialspoint.com/dbms/pdf/dbms_data_models.pdf
- What are some advantages of using the database management
system approach rather than the file system approach? - Quora
www.quora.com
- http://www.teach-
ict.com/as_as_computing/ocr/H447/F453/3_3_9/database_design/miniwe
b/pg8.htm#
www.teach-ict.com
Different data models
Create By : Madusha Udayangani
Esoft Metro campus (kurunegala)
HND com- 15
10086

More Related Content

PPT
Data models
PPT
data modeling and models
PPT
Files Vs DataBase
PPT
Data preprocessing in Data Mining
PPTX
Data warehouse physical design
PPT
Database systems
PPTX
Dbms classification according to data models
PPT
Dbms models
Data models
data modeling and models
Files Vs DataBase
Data preprocessing in Data Mining
Data warehouse physical design
Database systems
Dbms classification according to data models
Dbms models

What's hot (20)

PPTX
Data Modeling Basics
DOCX
The three level of data modeling
PDF
Data Models
PPT
Data Base Management System
PPTX
Introduction to databases
PPTX
Data Modeling PPT
PPT
Data models
PPTX
Clustering in Data Mining
PPTX
Data preprocessing
PPTX
All data models in dbms
PPTX
Data preprocessing
PPS
Data models
PPTX
PPTX
DATA PREPROCESSING AND DATA CLEANSING
PPTX
Data Mining
PPT
1. Introduction to DBMS
PPTX
Type of database models
PPTX
Slide 2 data models
PPT
Data preprocessing
PPTX
Rdbms
 
Data Modeling Basics
The three level of data modeling
Data Models
Data Base Management System
Introduction to databases
Data Modeling PPT
Data models
Clustering in Data Mining
Data preprocessing
All data models in dbms
Data preprocessing
Data models
DATA PREPROCESSING AND DATA CLEANSING
Data Mining
1. Introduction to DBMS
Type of database models
Slide 2 data models
Data preprocessing
Rdbms
 
Ad

Similar to Different data models (20)

PPTX
DBMS OF DATA MODEL Deepika 2
PPTX
DIFFERENT MODELS IN DBMS.pptx
PDF
ITB - UNIT 3.pdf
PDF
Data models
PPTX
Database Introduction to Data Models.pptx
PPTX
DBMS-7.pptx
PPTX
Data Modeling and Data Models and its Importance
PPT
DBMS topic in PU
PPTX
Database System Concepts AND architecture [Autosaved].pptx
PPT
DBMS basics
PPTX
Data Models in Database Managment System
PPTX
Architecture of dbms
PPTX
data-models .pptx
PPT
DBMS-Week-2about hardware and software.PPT
PPTX
Data model
PDF
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
PPT
Chapter 2 Database Systems Architectures
PPTX
DBMS-2.pptx
PPT
Dbms Lec Uog 02
DBMS OF DATA MODEL Deepika 2
DIFFERENT MODELS IN DBMS.pptx
ITB - UNIT 3.pdf
Data models
Database Introduction to Data Models.pptx
DBMS-7.pptx
Data Modeling and Data Models and its Importance
DBMS topic in PU
Database System Concepts AND architecture [Autosaved].pptx
DBMS basics
Data Models in Database Managment System
Architecture of dbms
data-models .pptx
DBMS-Week-2about hardware and software.PPT
Data model
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
Chapter 2 Database Systems Architectures
DBMS-2.pptx
Dbms Lec Uog 02
Ad

Recently uploaded (20)

PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
PDF
Foundation of Data Science unit number two notes
PPTX
Business Acumen Training GuidePresentation.pptx
PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
Computer network topology notes for revision
PPTX
Database Infoormation System (DBIS).pptx
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PPTX
Qualitative Qantitative and Mixed Methods.pptx
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
Foundation of Data Science unit number two notes
Business Acumen Training GuidePresentation.pptx
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
.pdf is not working space design for the following data for the following dat...
Business Ppt On Nestle.pptx huunnnhhgfvu
Computer network topology notes for revision
Database Infoormation System (DBIS).pptx
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
Qualitative Qantitative and Mixed Methods.pptx
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
Fluorescence-microscope_Botany_detailed content
IBA_Chapter_11_Slides_Final_Accessible.pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx

Different data models

  • 1. DIFFERENT DATA MODELS Create By : Madusha Udayangani Esoft Metro campus (kurunegala) HND com- 15 10086
  • 2. •A data model is a conceptual representation of the data structures that are required by a database. •To use a common analogy, the data model is equivalent to an architect's building plans. •A data model is independent of hardware or software constraints. DATA MODELING
  • 3. IMPORTANCE OF DATA MODELS • Data models  Representations, usually graphical, of complex real- world data structures  Facilitate interaction among the designer, the applications programmer and the end user • End-users have different views and needs for data • Data model organizes data for various users
  • 4. TYPE OF DATA MODELS • FILE BASED APPROACH • Hierarchical Model • Network Model • Relational Model • ER Model • Object Oriented Model • Object Relational Model • Deductive / Inference Model
  • 5. FILE BASED APPROACH • A collection of un-related files and a collection of application programs that perform services for the end-users, such as the production of reports. Each program defines and manages its own data. 1.Traditionally each department in a company would maintain its own collection of files. 2.The data processing department would write programs for each application each office needed performed.
  • 6. •Separation and isolation of data •Duplication of data •Incompatible File Formats •Data dependence •Fixed queries/proliferation of application programs •Inability to generate timely reports LIMITATIONS OF THE FILE-BASED APPROACH
  • 7. HIERARCHICAL MODEL • Oldest data base model. (1950’s) • Tree structure is most frequently occurring relationship. • organize data elements as tabular rows
  • 8. Advantages • Simplicity • Data security • Data Integrity • Efficiency : When contains large no of relations Disadvantages • Implementation complexity • Database management problem : maintaining difficult • Lack of structural independence • programming complexity
  • 9. 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
  • 10. Advantages • Conceptual simplicity • handle more relationships • Ease of data access • Data integrity •Data independence • Database standards Disadvantages • System Complexity • Absence of structural independence
  • 11. 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 • Most popular database model
  • 12. Formal Relational terms Informal Equivalence Relation Table Tuple Row/record Cardinality of relation Number of rows Attribute Columns/field Degree of relation Number of columns Primary Key Unique identifier Domain A pool of values from which the values of specific attributes of specific relations are taken
  • 13. Advantages • Structural independence • Conceptual simplicity • Design , implementation , maintenance and usage ease •Query capability •Very powerful •Flexible •Easy to use query capability
  • 15. The main highlights of relations model •Data is stored in tables called relations. •Relations can be normalized. •In normalized relations, values saved are atomic values. •Each row in a relation contains a unique value. •Each column in a relation contains values from a same domain.
  • 16. Comparison between hierarchical model, network model and relational model
  • 17. Characteristic Hierarchical model Network model Relational model Data structure • One to many or one to one relationships. • Based on parent child relationship. • Allowed the network model to support many to many relationships. • A record can have many parents as well as many children. • One to One, One to many, Many to many relationships. • Based on relational data structures. Data manipulation • Does not provide an independent stand alone query interface • retrieve algorithms are complex and asymmetric • CODASYL (Conference on Data Systems Languages) • Retrieve algorithms are complex and symmetric • Relational databases are what brings many sources into a common query (such as SQL) • Retrieve algorithms are simple and symmetric
  • 18. Characteristic Hierarchical model Network model Relational model Data integrity • Cannot insert the information of a child who does not have any parent • Multiple occurrences of child records which lead to problems of inconsistency during the update operation • Deletion of parent results in deletion of child records • Does not suffer form any insertion anomaly. • Free from update anomalies • Free from delete anomalies • Does not suffer from any insert anomaly. • Free form update anomalies • Free from delete anomalies
  • 19.   why relational model best fits the DAD assignment scenario
  • 20. • Tables are basic building blocks of a relational database. • Keys are central to the use of relational tables. • Keys define functional dependencies  Candidate key  Primary key  Secondary key  Foreign key
  • 21. • Each table row must have a primary key which uniquely identifies all attributes • Tables can be linked by common attributes. Thus, the primary key of one table can appear as the foreign key in another table to which it is linked • The relational model supports relational algebra functions: SELECT, DELETE, LIKE, UPDATE, OR AND. • Good design begins by identifying appropriate entities and attributes and the relationships among the entities.
  • 22. REFERENCES - http://www.tutorialspoint.com/dbms/pdf/dbms_data_models.pdf - What are some advantages of using the database management system approach rather than the file system approach? - Quora www.quora.com - http://www.teach- ict.com/as_as_computing/ocr/H447/F453/3_3_9/database_design/miniwe b/pg8.htm# www.teach-ict.com
  • 24. Create By : Madusha Udayangani Esoft Metro campus (kurunegala) HND com- 15 10086