SlideShare a Scribd company logo
Data Modeling
Data modeling is the process of creating a visual representation of either a whole
information system or parts of it to communicate connections between data points and
structures.
Goal Of Data Model
The goal is to illustrate the types of data used and stored within the system, the
relationships among these data types, the ways the data can be grouped and organized
and its formats and attributes.
Data models are built around business needs.Rules and requirements are defined
upfront through feedback from business stakeholders so they can be incorporated into
the design of a new system or adapted in the iteration of an existing one.
Data can be modeled at various levels of abstraction.
The process begins by collecting information about business requirements from
stakeholders and end users.
These business rules are then translated into data structures to formulate a concrete
database design.
A data model can be compared to a roadmap, an architect’s blueprint or any formal
diagram that facilitates a deeper understanding of what is being designed.
Data modeling employs standardized schemas and formal techniques. This provides a
common, consistent, and predictable way of defining and managing data resources
across an organization, or even beyond.
Ideally, data models are living documents that evolve along with changing business
needs. They play an important role in supporting business processes and planning IT
architecture and strategy. Data models can be shared with vendors, partners, and/or
industry peers.
Types of data models
Like any design process, database and information system design begins at a high
level of abstraction and becomes increasingly more concrete and specific.
Data models can generally be divided into three categories, which vary according to
their degree of abstraction.
The process will start with a conceptual model, progress to a logical model and
conclude with a physical model.
Conceptual data models.
They are also referred to as domain models and offer a big-picture view of what the
system will contain, how it will be organized, and which business rules are involved.
Conceptual models are usually created as part of the process of gathering initial
project requirements.
Typically, they include:
a) entity classes (defining the types of things that are important for the business to
represent in the data model),
b) their characteristics and constraints,
c) the relationships between them,
d) relevant security and data integrity requirements.
Logical data models.
They are less abstract and provide greater detail about the concepts and relationships
in the domain under consideration.
One of several formal data modeling notation systems is followed. These indicate data
attributes, such as data types and their corresponding lengths, and show the
relationships among entities.
Logical data models don’t specify any technical system requirements.
Physical data models.
They provide a schema for how the data will be physically stored within a database.
They offer a finalized design that can be implemented as a relational database,
including associative tables that illustrate the relationships among entities as well as
the primary keys and foreign keys that will be used to maintain those relationships.
Benefits of data modeling
Data modeling makes it easier for developers, data architects, business analysts, and
other stakeholders to view and understand relationships among the data in a database
or data warehouse. In addition, it can:
 Reduce errors in software and database development.
 Increase consistency in documentation and system design across the enterprise.
 Improve application and database performance.
 Ease data mapping throughout the organization.
 Improve communication between developers and business intelligence teams.
 Ease and speed the process of database design at the conceptual, logical and
physical levels.
IMPORTANCE OF DATA MODELS
 Modelling can guide your exploration:
 It can help you figure out what questions to ask
 It can help to reveal key design decisions
 It can help you to uncover problems
 Modelling can help us check our understanding
 Reason about the model to understand its consequences
 Does it have the properties we expect?
 Animate the model to help us visualize/validate software behavior
 Modelling can help us communicate
 Provides useful abstractions that focus on the point you want to make
without overwhelming people with detail
DATA MODELING – THE PROCESS
Data modeling is a method used to define and analyze data requirements
needed to support the business processes of an organization; it defines data
elements, their structures and relationships between them.
It is the process of creating a data model for the data to be stored in a
Database which helps in the visual representation of data and enforces
business rules, regulatory compliances, and government policies on the data.
Data Modelling Process.
Step 1
Initially, the data requirements are recorded as a conceptual data model
which is essentially a set of technology independent specifications about the
data and is used to discuss initial requirements with the business stakeholders.
Step 2
The conceptual model is then translated into a logical data model, which
documents structures of the data that can be implemented in databases.
Implementation of one conceptual data model may require multiple logical
data models.
Step 3
The last step in data modeling is transforming the logical data model to a
physical data model that organizes the data into tables, and accounts for
access, performance and storage details.
DATA MODEL METHODOLOGY
The two major methodologies used to create a data model are
 The Entity‐ Relationship (ER) approach.
 The Object‐ oriented Model.
1. Entity‐ relationship Model
Entity – Relationship model (ER model for short) is the conceptual design of a
database that includes its entities and relationships.
In other words, it is an abstract way to describe a database. It usually starts with a
relational database, which stores data in tables.
Some of the data in these tables point to data in other tables.
EXAMPLE
An Aerodrome entry in the database could be related to several Runways that belong
to this Aerodrome.
The ER model would say that the “Aerodrome” is an entity, and each “Runway” is an
entity
These entities might have a list of properties called “Attributes” like the Identifier,
Name, Length, Width, etc. and the relationships between the Aerodrome and the
Runway is in one direction “having Runways” and from the other direction “situated
at one Aerodrome”.
Diagrams created to design these entities and relationships are called entity–
relationship diagrams or ER diagrams.
Figure for Entity-Relationship Diagram
2. Object‐ oriented Model
Object‐ oriented modeling (OOM), also called object‐ oriented programming (OOP)
is a modeling paradigm mainly used in computer programming.
The object‐ oriented paradigm assists the programmer to address the complexity of a
problem domain by considering the problem not as a set of functions that can be
performed but primarily as a set of related, interacting Objects.
The modeling task then is specifying, for a specific context, those Objects (or the
Class the Objects belongs to), their respective set of Properties and Methods, shared
by all Objects members of the Class.
The Model description or Schema may grow in complexity to require a Notation.
Many notations have been proposed, based on different paradigms, diverged, and
converged in a more popular one known as UML (Unified Modeling Language).
Let’s take the same example as in the entity‐ relationship model about the Aerodrome
and Runway and consider them a Class of object as defined in the UML, where they
will also be defined by a list of properties and constrained by a data type, besides the
two classes they also have a relationship as shown in next figure where a Class
diagram is shown.
Figure for Class Diagram
Both object‐ oriented modeling and Entity‐ relation model are quite common in
software today. Since relational databases don't store objects directly, there is a
general need to bridge the two worlds by using different approaches to cope with this
problem like Object‐ relational mapping or Object Database methodology, subjects
which are out of the scope of this material.

More Related Content

Similar to Data Modeling.docx

Physical Database Requirements.pdf
Physical Database Requirements.pdfPhysical Database Requirements.pdf
Physical Database Requirements.pdf
seifusisay06
 
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
orlandov3
 
software_engg-chap-03.ppt
software_engg-chap-03.pptsoftware_engg-chap-03.ppt
software_engg-chap-03.ppt
064ChetanWani
 
Object oriented analysis and design unit- iv
Object oriented analysis and design unit- ivObject oriented analysis and design unit- iv
Object oriented analysis and design unit- iv
Shri Shankaracharya College, Bhilai,Junwani
 
Informatica Data Modelling : Importance of Conceptual Models
Informatica Data Modelling : Importance of  Conceptual ModelsInformatica Data Modelling : Importance of  Conceptual Models
Informatica Data Modelling : Importance of Conceptual Models
ZaranTech LLC
 
Itlc hanoi ba day 3 - thai son - data modelling
Itlc hanoi   ba day 3 - thai son - data modellingItlc hanoi   ba day 3 - thai son - data modelling
Itlc hanoi ba day 3 - thai son - data modelling
Vu Hung Nguyen
 
Data modeling levels and techniques.docx
Data modeling levels and techniques.docxData modeling levels and techniques.docx
Data modeling levels and techniques.docx
LanLThThy
 
Data modeling levels and techniques.docx
Data modeling levels and techniques.docxData modeling levels and techniques.docx
Data modeling levels and techniques.docx
LanLThThy
 
Data modeling levels and techniques.docx
Data modeling levels and techniques.docxData modeling levels and techniques.docx
Data modeling levels and techniques.docx
LanLThThy
 
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
MisganawAbeje1
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
Rahul Narang
 
Data modelling it's process and examples
Data modelling it's process and examplesData modelling it's process and examples
Data modelling it's process and examples
JayeshGadhave1
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1
Sonia Mim
 
object oriented methodologies
object oriented methodologiesobject oriented methodologies
object oriented methodologies
Amith Tiwari
 
A relational model of data for large shared data banks
A relational model of data for large shared data banksA relational model of data for large shared data banks
A relational model of data for large shared data banks
Sammy Alvarez
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
fikadumola
 
FORMALIZATION & DATA ABSTRACTION DURING USE CASE MODELING IN OBJECT ORIENTED ...
FORMALIZATION & DATA ABSTRACTION DURING USE CASE MODELING IN OBJECT ORIENTED ...FORMALIZATION & DATA ABSTRACTION DURING USE CASE MODELING IN OBJECT ORIENTED ...
FORMALIZATION & DATA ABSTRACTION DURING USE CASE MODELING IN OBJECT ORIENTED ...
cscpconf
 

Similar to Data Modeling.docx (20)

Physical Database Requirements.pdf
Physical Database Requirements.pdfPhysical Database Requirements.pdf
Physical Database Requirements.pdf
 
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
 
software_engg-chap-03.ppt
software_engg-chap-03.pptsoftware_engg-chap-03.ppt
software_engg-chap-03.ppt
 
Object oriented analysis and design unit- iv
Object oriented analysis and design unit- ivObject oriented analysis and design unit- iv
Object oriented analysis and design unit- iv
 
Informatica Data Modelling : Importance of Conceptual Models
Informatica Data Modelling : Importance of  Conceptual ModelsInformatica Data Modelling : Importance of  Conceptual Models
Informatica Data Modelling : Importance of Conceptual Models
 
Itlc hanoi ba day 3 - thai son - data modelling
Itlc hanoi   ba day 3 - thai son - data modellingItlc hanoi   ba day 3 - thai son - data modelling
Itlc hanoi ba day 3 - thai son - data modelling
 
Data modeling levels and techniques.docx
Data modeling levels and techniques.docxData modeling levels and techniques.docx
Data modeling levels and techniques.docx
 
Data modeling levels and techniques.docx
Data modeling levels and techniques.docxData modeling levels and techniques.docx
Data modeling levels and techniques.docx
 
Data modeling levels and techniques.docx
Data modeling levels and techniques.docxData modeling levels and techniques.docx
Data modeling levels and techniques.docx
 
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
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
 
Data modelling it's process and examples
Data modelling it's process and examplesData modelling it's process and examples
Data modelling it's process and examples
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1
 
object oriented methodologies
object oriented methodologiesobject oriented methodologies
object oriented methodologies
 
A relational model of data for large shared data banks
A relational model of data for large shared data banksA relational model of data for large shared data banks
A relational model of data for large shared data banks
 
SE - System Models
SE - System ModelsSE - System Models
SE - System Models
 
Ch8
Ch8Ch8
Ch8
 
Data modeling
Data modelingData modeling
Data modeling
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
 
FORMALIZATION & DATA ABSTRACTION DURING USE CASE MODELING IN OBJECT ORIENTED ...
FORMALIZATION & DATA ABSTRACTION DURING USE CASE MODELING IN OBJECT ORIENTED ...FORMALIZATION & DATA ABSTRACTION DURING USE CASE MODELING IN OBJECT ORIENTED ...
FORMALIZATION & DATA ABSTRACTION DURING USE CASE MODELING IN OBJECT ORIENTED ...
 

Recently uploaded

guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
Output determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CCOutput determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CC
ShahulHameed54211
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
natyesu
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Sanjeev Rampal
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptxLiving-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
TristanJasperRamos
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
Himani415946
 

Recently uploaded (16)

guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
Output determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CCOutput determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CC
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptxLiving-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
 

Data Modeling.docx

  • 1. Data Modeling Data modeling is the process of creating a visual representation of either a whole information system or parts of it to communicate connections between data points and structures. Goal Of Data Model The goal is to illustrate the types of data used and stored within the system, the relationships among these data types, the ways the data can be grouped and organized and its formats and attributes. Data models are built around business needs.Rules and requirements are defined upfront through feedback from business stakeholders so they can be incorporated into the design of a new system or adapted in the iteration of an existing one. Data can be modeled at various levels of abstraction. The process begins by collecting information about business requirements from stakeholders and end users. These business rules are then translated into data structures to formulate a concrete database design. A data model can be compared to a roadmap, an architect’s blueprint or any formal diagram that facilitates a deeper understanding of what is being designed. Data modeling employs standardized schemas and formal techniques. This provides a common, consistent, and predictable way of defining and managing data resources across an organization, or even beyond. Ideally, data models are living documents that evolve along with changing business needs. They play an important role in supporting business processes and planning IT architecture and strategy. Data models can be shared with vendors, partners, and/or industry peers. Types of data models Like any design process, database and information system design begins at a high level of abstraction and becomes increasingly more concrete and specific. Data models can generally be divided into three categories, which vary according to their degree of abstraction. The process will start with a conceptual model, progress to a logical model and conclude with a physical model.
  • 2. Conceptual data models. They are also referred to as domain models and offer a big-picture view of what the system will contain, how it will be organized, and which business rules are involved. Conceptual models are usually created as part of the process of gathering initial project requirements. Typically, they include: a) entity classes (defining the types of things that are important for the business to represent in the data model), b) their characteristics and constraints, c) the relationships between them, d) relevant security and data integrity requirements.
  • 3. Logical data models. They are less abstract and provide greater detail about the concepts and relationships in the domain under consideration. One of several formal data modeling notation systems is followed. These indicate data attributes, such as data types and their corresponding lengths, and show the relationships among entities. Logical data models don’t specify any technical system requirements.
  • 4. Physical data models. They provide a schema for how the data will be physically stored within a database. They offer a finalized design that can be implemented as a relational database, including associative tables that illustrate the relationships among entities as well as the primary keys and foreign keys that will be used to maintain those relationships. Benefits of data modeling Data modeling makes it easier for developers, data architects, business analysts, and other stakeholders to view and understand relationships among the data in a database or data warehouse. In addition, it can:  Reduce errors in software and database development.  Increase consistency in documentation and system design across the enterprise.  Improve application and database performance.  Ease data mapping throughout the organization.  Improve communication between developers and business intelligence teams.  Ease and speed the process of database design at the conceptual, logical and physical levels. IMPORTANCE OF DATA MODELS  Modelling can guide your exploration:  It can help you figure out what questions to ask  It can help to reveal key design decisions
  • 5.  It can help you to uncover problems  Modelling can help us check our understanding  Reason about the model to understand its consequences  Does it have the properties we expect?  Animate the model to help us visualize/validate software behavior  Modelling can help us communicate  Provides useful abstractions that focus on the point you want to make without overwhelming people with detail DATA MODELING – THE PROCESS Data modeling is a method used to define and analyze data requirements needed to support the business processes of an organization; it defines data elements, their structures and relationships between them. It is the process of creating a data model for the data to be stored in a Database which helps in the visual representation of data and enforces business rules, regulatory compliances, and government policies on the data. Data Modelling Process. Step 1 Initially, the data requirements are recorded as a conceptual data model which is essentially a set of technology independent specifications about the data and is used to discuss initial requirements with the business stakeholders. Step 2 The conceptual model is then translated into a logical data model, which documents structures of the data that can be implemented in databases. Implementation of one conceptual data model may require multiple logical data models. Step 3 The last step in data modeling is transforming the logical data model to a physical data model that organizes the data into tables, and accounts for access, performance and storage details. DATA MODEL METHODOLOGY The two major methodologies used to create a data model are  The Entity‐ Relationship (ER) approach.  The Object‐ oriented Model. 1. Entity‐ relationship Model Entity – Relationship model (ER model for short) is the conceptual design of a database that includes its entities and relationships. In other words, it is an abstract way to describe a database. It usually starts with a relational database, which stores data in tables. Some of the data in these tables point to data in other tables.
  • 6. EXAMPLE An Aerodrome entry in the database could be related to several Runways that belong to this Aerodrome. The ER model would say that the “Aerodrome” is an entity, and each “Runway” is an entity These entities might have a list of properties called “Attributes” like the Identifier, Name, Length, Width, etc. and the relationships between the Aerodrome and the Runway is in one direction “having Runways” and from the other direction “situated at one Aerodrome”. Diagrams created to design these entities and relationships are called entity– relationship diagrams or ER diagrams. Figure for Entity-Relationship Diagram 2. Object‐ oriented Model Object‐ oriented modeling (OOM), also called object‐ oriented programming (OOP) is a modeling paradigm mainly used in computer programming. The object‐ oriented paradigm assists the programmer to address the complexity of a problem domain by considering the problem not as a set of functions that can be performed but primarily as a set of related, interacting Objects. The modeling task then is specifying, for a specific context, those Objects (or the Class the Objects belongs to), their respective set of Properties and Methods, shared by all Objects members of the Class. The Model description or Schema may grow in complexity to require a Notation. Many notations have been proposed, based on different paradigms, diverged, and converged in a more popular one known as UML (Unified Modeling Language). Let’s take the same example as in the entity‐ relationship model about the Aerodrome and Runway and consider them a Class of object as defined in the UML, where they will also be defined by a list of properties and constrained by a data type, besides the two classes they also have a relationship as shown in next figure where a Class diagram is shown.
  • 7. Figure for Class Diagram Both object‐ oriented modeling and Entity‐ relation model are quite common in software today. Since relational databases don't store objects directly, there is a general need to bridge the two worlds by using different approaches to cope with this problem like Object‐ relational mapping or Object Database methodology, subjects which are out of the scope of this material.