SlideShare a Scribd company logo
1 of 23
DATA Models
THURSDAY, OCTOBER 13, 2016
Learning Outcomes:
At the end of the lesson, I should be able to:
a) Explain the term data modeling
b) State the types of data models
c) Significance of data models
Data Modeling
This is the process of structuring and organizing
data.
The term data modeling describes two different
things: data structure and the way data are
organized using database management system.
Data structure
A data model describes the structure of the data within a given domain
and, by implication, the underlying structure of that domain itself.
Data organization
This is the organization of data using database management systems or
other data management technology.
Approach in Data Modeling
Data modeling approach includes the following:
1. conceptual data modeling
2. logical data modeling
3.physical data modeling
Three perspectives - Approach
A data model instance may be one of three kinds according to ANSI in 1975:
Conceptual data model : describes the semantics of a domain, being the
scope of the model. For example, it may be a model of the interest area of
an organization or industry. This consists of entity classes, representing
kinds of things of significance in the domain, and relationship assertions
about associations between pairs of entity classes. A conceptual schema
specifies the kinds of facts or propositions that can be expressed using the
model. In that sense, it defines the allowed expressions in an artificial
'language' with a scope that is limited by the scope of the model.
Logical data model : describes the semantics, as represented by a
particular data manipulation technology. This consists of descriptions of
tables and columns, object oriented classes, and XML tags, among other
things.
Physical data model : describes the physical means by which data are
stored. This is concerned with partitions, CPUs, tablespaces, and the like.
CONCEPTUAL DATA MODELING
This identifies the highest-level relationship between different entities.
Conceptual is the first step in organizing the data requirements.
Logical Data Modeling
This illustrates specific entities, attributes and relationships involved in a
business function. It consists of tables, columns, object-oriented classes,
and XML tags.
Physical Data Modeling
This represents an application (such as SQL) and database-specific
implementation of a logical data model and describes the physical
means used to store data.
Types of Data Modeling
1. Flat model
2. Hierarchical model
3. Network model
4. Relational model
5. Object-Oriented Model
6. Star schema
FLAT MODEL DATABASE
The flat (or table) model consists of a single, two-dimensional array of
data elements, where all members are assumed to be of similar values,
all members of a row are assumed to be related to one another.
14.13
HIERARCHICAL DATABASE MODEL
In the hierarchical model, data is organized as an inverted
tree. Each entity has only one parent but can have several
children. At the top of the hierarchy, there is one entity,
which is called the root.
An example of the hierarchical model representing a university
14.14
NETWORK DATABASE MODEL
In the network model, the entities are organized in a graph,
in which some entities can be accessed through several paths
(Figure 14.4).
An example of the network model representing a university
14.15
RELATIONAL DATABASE MODEL
In the relational model, data is organized in two-dimensional
tables called relations. The tables or relations are, however,
related to each other, as we will see shortly.
An example of the relational model representing a university
OBJECT ORIENTED DATABASE MODEL
An object database (also object-oriented database management
system, OODBMS) is a database management system in which
information is represented in the form of objects as used in object-
oriented programming. Object databases are different from relational
databases which are table-oriented. Object-relational databases are a
hybrid of both approaches.
STAR SCHEMA
This is the simplest style of data mart schema and is the approach most
widely used to develop data warehouses and dimensional data marts.
The star schema consists of one or more fact tables referencing any
number of dimension tables. The star schema is an important special
case of the snowflake schema, and is more effective for handling
simpler queries.
Significance of Data models
1. Data models can facilitate interaction among the designer, the
application programmer and the end user.
2. A well- developed data model can even foster improved
understanding of the organization for which the database design is
developed.
3. Data models are a communication tool.
4. Data models help in structuring and organizing data.
5. Data models impose constraints or limitations on the data placed
within the structure.
Standard Data Model
A standard data model or industry standard data model (ISDM) is a data
model that is widely applied in some industry, and shared amongst
competitors to some degree. They are often defined by standards
bodies, database vendors or operating system vendors.
Examples of standard data
models
1. ISO 10303 CAE Data Exchange Standard - includes its own data
modelling language, EXPRESS
2. ISO 15926 Process Plants including Oil and Gas facilities Life-Cycle
data
3. IDEAS Group Foundation Ontology agreed by defence
departments of Australia, Canada, France, Sweden, UK and USA
4. Common Education Data Standards (CEDS) is a data dictionary
sponsored by the US government that is used widely in the United
States education vertical
5. SIF is an interoperability specification used as a standard data
model in Australia, the UK, and the US.
Assignment
Read up the topic: Normal forms and explain the determination of
normal forms.
Terminologies
1. Data model
2. Forms
3. Queries
4. Iterations
5. Implicitly
6. Explicitly
Data models

More Related Content

What's hot

Chapter10 conceptual data modeling
Chapter10 conceptual data modelingChapter10 conceptual data modeling
Chapter10 conceptual data modelingDhani Ahmad
 
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsKunal Anand
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management SystemAjay Jha
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databasePradnya Saval
 
What is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ NewyorksysWhat is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ NewyorksysNEWYORKSYS-IT SOLUTIONS
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
Data warehouse architecture
Data warehouse architecture Data warehouse architecture
Data warehouse architecture janani thirupathi
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.yhen06
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 
Database management system1
Database management system1Database management system1
Database management system1jamwal85
 

What's hot (20)

Chapter10 conceptual data modeling
Chapter10 conceptual data modelingChapter10 conceptual data modeling
Chapter10 conceptual data modeling
 
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management Systems
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Data base management system
Data base management systemData base management system
Data base management system
 
Data warehouse
Data warehouseData warehouse
Data warehouse
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Role of a DBA
Role of a DBARole of a DBA
Role of a DBA
 
What is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ NewyorksysWhat is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Data science unit1
Data science unit1Data science unit1
Data science unit1
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
 
Different data models
Different data modelsDifferent data models
Different data models
 
Data warehouse architecture
Data warehouse architecture Data warehouse architecture
Data warehouse architecture
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.
 
DbMs
DbMsDbMs
DbMs
 
Data models
Data modelsData models
Data models
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Database management system1
Database management system1Database management system1
Database management system1
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 

Similar to Data models

2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdffikadumola
 
Student POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docxStudent POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docxorlandov3
 
DBMS-2.pptx
DBMS-2.pptxDBMS-2.pptx
DBMS-2.pptxkingVox
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1Sonia Mim
 
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdfchapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdfMisganawAbeje1
 
Database Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfrsujeet169
 
Databases and its representation
Databases and its representationDatabases and its representation
Databases and its representationRuhull
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introductionJananath Banuka
 
Database System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptxDatabase System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptxKoteswari Kasireddy
 
Bca examination 2017 dbms
Bca examination 2017 dbmsBca examination 2017 dbms
Bca examination 2017 dbmsAnjaan Gajendra
 
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Usman Tariq
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...Dipen Parmar
 

Similar to Data models (20)

2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
 
Data Modeling.docx
Data Modeling.docxData Modeling.docx
Data Modeling.docx
 
Student POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docxStudent POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docx
 
Data models
Data modelsData models
Data models
 
Data models
Data modelsData models
Data models
 
DBMS-2.pptx
DBMS-2.pptxDBMS-2.pptx
DBMS-2.pptx
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1
 
Database
DatabaseDatabase
Database
 
DBMS Part 1.pptx
DBMS Part 1.pptxDBMS Part 1.pptx
DBMS Part 1.pptx
 
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdfchapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
 
Database Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdf
 
DBMS - Introduction
DBMS - IntroductionDBMS - Introduction
DBMS - Introduction
 
Databases and its representation
Databases and its representationDatabases and its representation
Databases and its representation
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
Database System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptxDatabase System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptx
 
Bca examination 2017 dbms
Bca examination 2017 dbmsBca examination 2017 dbms
Bca examination 2017 dbms
 
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
 
Data models
Data modelsData models
Data models
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 

More from Samuel Igbanogu

More from Samuel Igbanogu (17)

Systems development cycle
Systems development cycleSystems development cycle
Systems development cycle
 
Data conversion
Data conversionData conversion
Data conversion
 
Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowcharts
 
Classification of computers with respect to size
Classification of computers with respect to sizeClassification of computers with respect to size
Classification of computers with respect to size
 
Classification of computers by type
Classification of computers by typeClassification of computers by type
Classification of computers by type
 
Classification of computers by generation
Classification of computers by generationClassification of computers by generation
Classification of computers by generation
 
File organisation
File organisationFile organisation
File organisation
 
Computer system soft ware
Computer system soft wareComputer system soft ware
Computer system soft ware
 
Relational models
Relational modelsRelational models
Relational models
 
Handling computer files
Handling computer filesHandling computer files
Handling computer files
 
Entity relationship model
Entity relationship modelEntity relationship model
Entity relationship model
 
Output devices
Output devicesOutput devices
Output devices
 
Concept of computer files
Concept of computer filesConcept of computer files
Concept of computer files
 
Computing devices i
Computing devices iComputing devices i
Computing devices i
 
Logic gates i & ii
Logic gates i & iiLogic gates i & ii
Logic gates i & ii
 
Input devices
Input devicesInput devices
Input devices
 
Normal forms
Normal formsNormal forms
Normal forms
 

Recently uploaded

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 

Recently uploaded (20)

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 

Data models

  • 2. Learning Outcomes: At the end of the lesson, I should be able to: a) Explain the term data modeling b) State the types of data models c) Significance of data models
  • 3. Data Modeling This is the process of structuring and organizing data. The term data modeling describes two different things: data structure and the way data are organized using database management system.
  • 4. Data structure A data model describes the structure of the data within a given domain and, by implication, the underlying structure of that domain itself.
  • 5. Data organization This is the organization of data using database management systems or other data management technology.
  • 6. Approach in Data Modeling Data modeling approach includes the following: 1. conceptual data modeling 2. logical data modeling 3.physical data modeling
  • 7. Three perspectives - Approach A data model instance may be one of three kinds according to ANSI in 1975: Conceptual data model : describes the semantics of a domain, being the scope of the model. For example, it may be a model of the interest area of an organization or industry. This consists of entity classes, representing kinds of things of significance in the domain, and relationship assertions about associations between pairs of entity classes. A conceptual schema specifies the kinds of facts or propositions that can be expressed using the model. In that sense, it defines the allowed expressions in an artificial 'language' with a scope that is limited by the scope of the model. Logical data model : describes the semantics, as represented by a particular data manipulation technology. This consists of descriptions of tables and columns, object oriented classes, and XML tags, among other things. Physical data model : describes the physical means by which data are stored. This is concerned with partitions, CPUs, tablespaces, and the like.
  • 8. CONCEPTUAL DATA MODELING This identifies the highest-level relationship between different entities. Conceptual is the first step in organizing the data requirements.
  • 9. Logical Data Modeling This illustrates specific entities, attributes and relationships involved in a business function. It consists of tables, columns, object-oriented classes, and XML tags.
  • 10. Physical Data Modeling This represents an application (such as SQL) and database-specific implementation of a logical data model and describes the physical means used to store data.
  • 11. Types of Data Modeling 1. Flat model 2. Hierarchical model 3. Network model 4. Relational model 5. Object-Oriented Model 6. Star schema
  • 12. FLAT MODEL DATABASE The flat (or table) model consists of a single, two-dimensional array of data elements, where all members are assumed to be of similar values, all members of a row are assumed to be related to one another.
  • 13. 14.13 HIERARCHICAL DATABASE MODEL In the hierarchical model, data is organized as an inverted tree. Each entity has only one parent but can have several children. At the top of the hierarchy, there is one entity, which is called the root. An example of the hierarchical model representing a university
  • 14. 14.14 NETWORK DATABASE MODEL In the network model, the entities are organized in a graph, in which some entities can be accessed through several paths (Figure 14.4). An example of the network model representing a university
  • 15. 14.15 RELATIONAL DATABASE MODEL In the relational model, data is organized in two-dimensional tables called relations. The tables or relations are, however, related to each other, as we will see shortly. An example of the relational model representing a university
  • 16. OBJECT ORIENTED DATABASE MODEL An object database (also object-oriented database management system, OODBMS) is a database management system in which information is represented in the form of objects as used in object- oriented programming. Object databases are different from relational databases which are table-oriented. Object-relational databases are a hybrid of both approaches.
  • 17. STAR SCHEMA This is the simplest style of data mart schema and is the approach most widely used to develop data warehouses and dimensional data marts. The star schema consists of one or more fact tables referencing any number of dimension tables. The star schema is an important special case of the snowflake schema, and is more effective for handling simpler queries.
  • 18. Significance of Data models 1. Data models can facilitate interaction among the designer, the application programmer and the end user. 2. A well- developed data model can even foster improved understanding of the organization for which the database design is developed. 3. Data models are a communication tool. 4. Data models help in structuring and organizing data. 5. Data models impose constraints or limitations on the data placed within the structure.
  • 19. Standard Data Model A standard data model or industry standard data model (ISDM) is a data model that is widely applied in some industry, and shared amongst competitors to some degree. They are often defined by standards bodies, database vendors or operating system vendors.
  • 20. Examples of standard data models 1. ISO 10303 CAE Data Exchange Standard - includes its own data modelling language, EXPRESS 2. ISO 15926 Process Plants including Oil and Gas facilities Life-Cycle data 3. IDEAS Group Foundation Ontology agreed by defence departments of Australia, Canada, France, Sweden, UK and USA 4. Common Education Data Standards (CEDS) is a data dictionary sponsored by the US government that is used widely in the United States education vertical 5. SIF is an interoperability specification used as a standard data model in Australia, the UK, and the US.
  • 21. Assignment Read up the topic: Normal forms and explain the determination of normal forms.
  • 22. Terminologies 1. Data model 2. Forms 3. Queries 4. Iterations 5. Implicitly 6. Explicitly