SlideShare a Scribd company logo
2
Most read
3
Most read
6
Most read
DATA MODELING
BY
RAAVI TRINATH
Introduction
 Process of creating a data model for an information system by
applying formal data modeling techniques.
 Process used to define and analyze data requirements needed to
support the business processes.
 Therefore, the process of data modeling involves professional
data modelers working closely with business stakeholders, as
well as potential users of the information system.
What is Data Model
 Data Model is a collection of conceptual tools for describing data,
data relationships, data semantics and consistency constraint.
 A data model is a conceptual representation of data structures
required for data base and is very powerful in expressing and
communicating the business requirements.
 A data model visually represents the nature of data, business
rules governing the data, and how it will be organized in the
database.
 A data model provides a way to describe the design of a
database at the physical, logical and view levels.
 There are three different types of data models produced while
progressing from requirements to the actual database to be used
for the information system
 Conceptual: describes WHAT the system contains.
 Logical: describes HOW the system will be implemented,
regardless of the DBMS.
 Physical: describes HOW the system will be implemented
using a specific DBMS.
Different Data Models
A data model consists of entities related to each other on a diagram:
Data Model
Element
Definition
Entity A real world thing or an interaction between 2 or more real world
things.
Attribute The atomic pieces of information that we need to know about
entities.
Relationship How entities depend on each other in terms of why the entities
depend on each other (the relationship) and what that relationship is
(the cardinality of the relationship).
Example:
Given that …
 “Customer” is an entity.
 “Product” is an entity.
 For a “Customer” we need to know their “customer number”
attribute and “name” attribute.
 For a “Product” we need to know the “product name” attribute
and “price” attribute.
 “Sale” is an entity that is used to record the interaction of
“Customer” and “Product”.
Here is the diagram that encapsulates these rules:
Notes
 By convention, entities are named in the singular.
 The attributes of “Customer” are “Customer No” (which is the
unique identifier or primary key of the “Customer” entity and is
shown by the # symbol) and “Customer Name”.
 “Sale” has a composite primary key made up of the primary key of
“Customer”, the primary key of “Product” and the date of the sale.
 Think of entities as tables, think of attributes as columns on the
table and think of instances as rows on that table:
• If we want to know the price of a Sale, we can ‘find’ it by using the
“Product Code” on the instance of “Sale” we are interested in and look
up the corresponding “Price” on the “Product” entity with the matching
“Product Code”.
Types of Data Models
 Entity-Relationship (E-R) Models
 UML (unified modeling language)
Entity-Relationship Model
 Entity Relationship Diagrams (ERD) as this is the most widely
used
 ERDs have an advantage in that they are capable of being
normalized
 Represent entities as rectangles
 List attributes within the rectangle
UniversityStudent
PK StudentID
StudentName
StudentDOB
StudentAge
Entity
Attributes
Primary key
Why and When
 The purpose of a data model is to describe the concepts relevant to a
domain, the relationships between those concepts, and information
associated with them.
 Used to model data in a standard, consistent, predictable
manner in order to manage it as a resource.
 To have a clear picture of the base data that your business needs.
 To identify missing and redundant base data.
 To Establish a baseline for communication across functional
boundaries within your organization.
 Provides a basis for defining business rules.
 Makes it cheaper, easier, and faster to upgrade your IT solutions.
Data Modeling PPT

More Related Content

PDF
Data Models
PPT
data modeling and models
PPTX
Database Design
PPT
ER-Model-ER Diagram
PPTX
Requirements modeling
PPTX
Data Modeling Basics
PDF
Data Modeling Techniques
PPTX
Normalization in DBMS
Data Models
data modeling and models
Database Design
ER-Model-ER Diagram
Requirements modeling
Data Modeling Basics
Data Modeling Techniques
Normalization in DBMS

What's hot (20)

PPT
1. Introduction to DBMS
PPT
Data models
ODP
ER Model in DBMS
PPTX
All data models in dbms
PPTX
Introduction to Database
PPTX
Database administrator
PPT
Files Vs DataBase
PPTX
Distributed database management system
PPTX
PPTX
Entity Relationship Diagrams
PPTX
two tier and three tier
PPT
15. Transactions in DBMS
PPTX
Online Admission System
PPTX
Database architecture
PPT
Dbms relational model
PPTX
Relational model
PDF
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
PDF
Dbms 3: 3 Schema Architecture
PPTX
Relational algebra ppt
1. Introduction to DBMS
Data models
ER Model in DBMS
All data models in dbms
Introduction to Database
Database administrator
Files Vs DataBase
Distributed database management system
Entity Relationship Diagrams
two tier and three tier
15. Transactions in DBMS
Online Admission System
Database architecture
Dbms relational model
Relational model
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms 3: 3 Schema Architecture
Relational algebra ppt
Ad

Viewers also liked (20)

PPT
Different data models
PPTX
Design approach
PPS
Data models
PPTX
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
PPT
Data mining
PPTX
Multidimensional data models
PPTX
Marekting research applications ppt
PPT
Data Mining In Market Research
PPT
Multidimensional Database Design & Architecture
PDF
Data modelling 101
PPTX
Data mining project presentation
PDF
Multidimentional data model
PPTX
Copy Testing
PPTX
Multi dimensional model vs (1)
PPT
Promotion
PDF
Data warehouse architecture
PDF
Data mining (lecture 1 & 2) conecpts and techniques
PPT
Data Warehouse Modeling
PPT
Data mining slides
 
PPTX
Data mining
Different data models
Design approach
Data models
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
Data mining
Multidimensional data models
Marekting research applications ppt
Data Mining In Market Research
Multidimensional Database Design & Architecture
Data modelling 101
Data mining project presentation
Multidimentional data model
Copy Testing
Multi dimensional model vs (1)
Promotion
Data warehouse architecture
Data mining (lecture 1 & 2) conecpts and techniques
Data Warehouse Modeling
Data mining slides
 
Data mining
Ad

Similar to Data Modeling PPT (20)

PPTX
Entity-Relationship Model.pptx data modeling
PPTX
Data Modelling..pptx
PPTX
Database Modeling Using Entity.. Weak And Strong Entity Types
PPTX
data modeling data modeling and its context .pptx
PPTX
data modelingEntity-Relationship (E-R) Models UML (unified modeling language)...
PPTX
types of data modeling tecnologyesy.pptx
PPTX
types of data modelingEntity-Relationship (E-R) Models UML .pptx
PPT
Data Modelling on the Relation between two or more variables
PPTX
DATA MODELING.pptx
PPT
Chapter 5 Analysis Modeling of Software Engineering.ppt
PPT
Module ii archetype pattern
PDF
Exposing a Few of the Data Models in Use Right Now
DOCX
Data Modeling.docx
PPTX
A database is a means of storing information in such a way that information c...
PDF
Informatica Data Modelling : Importance of Conceptual Models
PPTX
Chapter 8
PPTX
model data objects concepts of entitty.pptx
PDF
1.1 Data Modelling - Part I (Understand Data Model).pdf
PPT
RDBMS_Unit 01
PPT
Analysis modeling in software engineering
Entity-Relationship Model.pptx data modeling
Data Modelling..pptx
Database Modeling Using Entity.. Weak And Strong Entity Types
data modeling data modeling and its context .pptx
data modelingEntity-Relationship (E-R) Models UML (unified modeling language)...
types of data modeling tecnologyesy.pptx
types of data modelingEntity-Relationship (E-R) Models UML .pptx
Data Modelling on the Relation between two or more variables
DATA MODELING.pptx
Chapter 5 Analysis Modeling of Software Engineering.ppt
Module ii archetype pattern
Exposing a Few of the Data Models in Use Right Now
Data Modeling.docx
A database is a means of storing information in such a way that information c...
Informatica Data Modelling : Importance of Conceptual Models
Chapter 8
model data objects concepts of entitty.pptx
1.1 Data Modelling - Part I (Understand Data Model).pdf
RDBMS_Unit 01
Analysis modeling in software engineering

Recently uploaded (20)

PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Basic Mud Logging Guide for educational purpose
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
Pharma ospi slides which help in ospi learning
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Pre independence Education in Inndia.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
master seminar digital applications in india
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Microbial diseases, their pathogenesis and prophylaxis
Anesthesia in Laparoscopic Surgery in India
01-Introduction-to-Information-Management.pdf
Institutional Correction lecture only . . .
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Basic Mud Logging Guide for educational purpose
102 student loan defaulters named and shamed – Is someone you know on the list?
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Pharma ospi slides which help in ospi learning
2.FourierTransform-ShortQuestionswithAnswers.pdf
Renaissance Architecture: A Journey from Faith to Humanism
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
STATICS OF THE RIGID BODIES Hibbelers.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Pre independence Education in Inndia.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
master seminar digital applications in india

Data Modeling PPT

  • 2. Introduction  Process of creating a data model for an information system by applying formal data modeling techniques.  Process used to define and analyze data requirements needed to support the business processes.  Therefore, the process of data modeling involves professional data modelers working closely with business stakeholders, as well as potential users of the information system.
  • 3. What is Data Model  Data Model is a collection of conceptual tools for describing data, data relationships, data semantics and consistency constraint.  A data model is a conceptual representation of data structures required for data base and is very powerful in expressing and communicating the business requirements.  A data model visually represents the nature of data, business rules governing the data, and how it will be organized in the database.
  • 4.  A data model provides a way to describe the design of a database at the physical, logical and view levels.  There are three different types of data models produced while progressing from requirements to the actual database to be used for the information system
  • 5.  Conceptual: describes WHAT the system contains.  Logical: describes HOW the system will be implemented, regardless of the DBMS.  Physical: describes HOW the system will be implemented using a specific DBMS. Different Data Models
  • 6. A data model consists of entities related to each other on a diagram: Data Model Element Definition Entity A real world thing or an interaction between 2 or more real world things. Attribute The atomic pieces of information that we need to know about entities. Relationship How entities depend on each other in terms of why the entities depend on each other (the relationship) and what that relationship is (the cardinality of the relationship).
  • 7. Example: Given that …  “Customer” is an entity.  “Product” is an entity.  For a “Customer” we need to know their “customer number” attribute and “name” attribute.  For a “Product” we need to know the “product name” attribute and “price” attribute.  “Sale” is an entity that is used to record the interaction of “Customer” and “Product”.
  • 8. Here is the diagram that encapsulates these rules:
  • 9. Notes  By convention, entities are named in the singular.  The attributes of “Customer” are “Customer No” (which is the unique identifier or primary key of the “Customer” entity and is shown by the # symbol) and “Customer Name”.  “Sale” has a composite primary key made up of the primary key of “Customer”, the primary key of “Product” and the date of the sale.  Think of entities as tables, think of attributes as columns on the table and think of instances as rows on that table:
  • 10. • If we want to know the price of a Sale, we can ‘find’ it by using the “Product Code” on the instance of “Sale” we are interested in and look up the corresponding “Price” on the “Product” entity with the matching “Product Code”.
  • 11. Types of Data Models  Entity-Relationship (E-R) Models  UML (unified modeling language)
  • 12. Entity-Relationship Model  Entity Relationship Diagrams (ERD) as this is the most widely used  ERDs have an advantage in that they are capable of being normalized  Represent entities as rectangles  List attributes within the rectangle UniversityStudent PK StudentID StudentName StudentDOB StudentAge Entity Attributes Primary key
  • 13. Why and When  The purpose of a data model is to describe the concepts relevant to a domain, the relationships between those concepts, and information associated with them.
  • 14.  Used to model data in a standard, consistent, predictable manner in order to manage it as a resource.  To have a clear picture of the base data that your business needs.  To identify missing and redundant base data.
  • 15.  To Establish a baseline for communication across functional boundaries within your organization.  Provides a basis for defining business rules.  Makes it cheaper, easier, and faster to upgrade your IT solutions.