SlideShare a Scribd company logo
1 of 32
Download to read offline
Data models
- Unit IV
an abstract view of the data
1
Data management
2
Features of data modeling
•
•
•
•
•
It lays the foundation for data governance and management.
It is neither the actual data nor the database that is to be
used in the system.
It represents the data entities, the relationship between
different data entities, and the business rules, policies, etc.
that govern the data and their activities.
It helps in standardization mainly in naming the entities,
setting default values, etc.
The normalization process ensures redundant data are
removed and the relationship and dependencies established
are as per business.
3
4
Good data models
•
•
•
•
•
•
•
•
Clarity
Consistency
Accuracy
Ease of access
Flexibility
Performance
Productivity
Traceability
5
Types of data model
•
•
•
Conceptual Data Model: It gives a view of the business
significance of each data entity and not a technical detail of
data.
Logical Data Model: It gives a detailed description of each
data entity their attributes and the relationship between two
entities giving business purpose to each data.
Physical Data Model: It gives a technical view of the data i.e.
, the table name, column name, datatype, constraints,
indexes, primary key, etc.
6
Conceptual model(ER diagram)
•
•
•
•
•
•
•
•
Represents the business data as seen in the real world and as
understood by businesses.
easy understanding of the business data, concepts, and rules.
The contributors are generally Business stakeholders and Data
Architects.
The main three components or elements of the Conceptual Data
Model are
Entity
Attributes
Relationship
presents all the data entities referred to by the business and their
characteristics called attributes and the dependency or the
connection between entities called Relationships.
7
8
Some commonly used Relationship
notations:
One to one: Employee and his joining
details
One to many: Employee and his
workplace
One and only one: Employee and his
date of birth
Zero or one: Employee and his place
of demise
Zero or many: Employee and his
subordinates
9
Logical Data Model
•
•
•
•
extension of a conceptual model with more details.
It is prepared by a data architect with inputs from the
business.
Logical data models give a detailed structure of the data
elements and the data entity relationships in a system from
the business point of view.
It is independent of technology and technology changes do
not impact the model.
10
•
•
•
•
•
•
•
•
•
•
The logical model lays the foundation for the physical database
The data attributes represented typically are the data type and
their relationship with other entities.
all attributes of an entity need to be mentioned without any
omission.
The relationship is not generic as presented in the conceptual
data model
The relationship is presented more explicitly with details like,
Primary key
Foreign key
Parent-child dependent entity type
Non-identifying relation
The cardinality of the relationship.
11
12
Physical model
•
•
•
•
•
•
A physical data model is the layout of the actual database with all its
components and services.
This model depicts the actual database where the actual data is stored
and is accessed in the production environment when users use the
application.
This model is for developers and other users who desire to query the
actual data
It is based on technology and the choice that has been made for the
database and the version of the database i.e., ORACLE, SQL, etc.
It is an extension of the Logical model and has more details like table
names for the Entity. Column names are the attributes with more
specifications like their exact datatype, length, and precision.
In addition, it may also have derived data, i.e., data generated by a
process in the application that needs to be stored for future reference.
13
14
15
Hierarchical
•
•
•
•
•
•
•
•
earliest and can represent simple data models.
This model could handle one-to-many and one-to-one relations only.
It has a root or a parent node and then follows a tree-like structure
with other child nodes.
Only one parent is allowed for a child node, and a parent node can
have multiple child nodes.
The navigation path to a child node is always through a parent node,
so is slow and difficult.
If a parent is deleted, then all child nodes get deleted. It is very easy
and simple to understand.
Complex data models cannot be represented using this technique.
Data integrity is maintained in the parent-child relationship i.e., any
change in the Parent is reflected in the child entity.
16
17
Network model
•
•
•
•
•
•
This model was the next one to be evolved from the
hierarchical model.
Here, a child node could have multiple parent nodes.
This model could handle many-to-many relations in addition
to one-to-one and one-to-many.
Navigation is faster in this model, as there are multiple paths
to reach a child entity.
This model also gets very complex when data is large.
The data update is more complex than the hierarchical model.
18
19
Object-oriented
•
•
•
•
Object-oriented databases gained popularity with object-
oriented programming.
A real-world entity is represented as an object and the
object’s properties are the real-world entities’ attributes.
The model presents a view as a collection of objects.
Each object has its methods and features.
20
21
Entity Relationship
22
Relational
•
•
•
•
The relational Model is the most popular model.
In this model, the Entity information is represented as a
table.
All the attributes are represented as columns.
The relationship between entities is represented by
different standard notations.
23
https://www.softwaretestinghelp.com/data-modeling-tutoria
24
Dimensional data modeling (DDM)
•
•
•
•
Technique that uses Dimensions and Facts to store the
data in a Data Warehouse efficiently.
Data structure or Process that helps access data from data
warehouse
Have specific structure and organize data to generate
effective reports
It optimizes the database for faster retrieval of the data
25
•
•
•
•
•
Dimensions
Facts
Attributes
Fact tables
Dimension tables
Refer to:
https://hevodata.com/learn/dimensional-data-modelling/
26
Process of Dimensional Data Modeling
27
Build the
Schema
Identify
the Facts
Identify
the
Dimensio
ns
Identify
the Grain
Identify
the
Business
Process
The business process
helps to identify the
appropriate Dimension and
Facts needed and maintain
the quality of data
28
Identify
the Grain
•
•
The process of identifying how much
normalization (lowest level of
information) can be achieved within the
data
It is the stage to decide the incoming
frequency of data (i.e.daily, weekly,
monthly, yearly), how much data we
want to store in the database (one day,
one month, one year, ten years), and
how much the storage will cost.
29
Identify
the Facts
Identify
the
Dimensio
ns
Dimensions - Detailed
information about the
objects like date, store,
name, address, contacts,
etc.
Facts are the measures/
transactions linked with the
associated Dimensions (via
foreign keys). Usually, Facts
contain fewer columns and huge
rows. Eg: sales, daily ordered
quantity etc.
30
Connecting
dimensions to
facts
Star
schema
Snowflake
schema
Star
31
Snowflake
32

More Related Content

Similar to EContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdf

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
 
1.1 Data Modelling - Part I (Understand Data Model).pdf
1.1 Data Modelling - Part I (Understand Data Model).pdf1.1 Data Modelling - Part I (Understand Data Model).pdf
1.1 Data Modelling - Part I (Understand Data Model).pdfRakeshKumar145431
 
Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptx
Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptxChapter-3-Lesson 1 DM/ Data-Models.ppt/pptx
Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptxmicayaseloisa
 
1-SDLC - Development Models – Waterfall, Rapid Application Development, Agile...
1-SDLC - Development Models – Waterfall, Rapid Application Development, Agile...1-SDLC - Development Models – Waterfall, Rapid Application Development, Agile...
1-SDLC - Development Models – Waterfall, Rapid Application Development, Agile...JOHNLEAK1
 
Data-Ed: Trends in Data Modeling
Data-Ed: Trends in Data ModelingData-Ed: Trends in Data Modeling
Data-Ed: Trends in Data ModelingData Blueprint
 
Data-Ed Online: Trends in Data Modeling
Data-Ed Online: Trends in Data ModelingData-Ed Online: Trends in Data Modeling
Data-Ed Online: Trends in Data ModelingDATAVERSITY
 
Types of data bases
Types of data basesTypes of data bases
Types of data basesJanu Jahnavi
 
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxMaryJoseph79
 
DBMS-2.pptx
DBMS-2.pptxDBMS-2.pptx
DBMS-2.pptxkingVox
 
Relational Database explanation with detail.pdf
Relational Database explanation with detail.pdfRelational Database explanation with detail.pdf
Relational Database explanation with detail.pdf9wldv5h8n
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureKunal Anand
 
Introducition to Data scinece compiled by hu
Introducition to Data scinece compiled by huIntroducition to Data scinece compiled by hu
Introducition to Data scinece compiled by huwekineheshete
 
database-model group presentation.pptx
database-model group   presentation.pptxdatabase-model group   presentation.pptx
database-model group presentation.pptxRuksanKarki
 
Data Systems Integration & Business Value Pt. 1: Metadata
Data Systems Integration & Business Value Pt. 1: MetadataData Systems Integration & Business Value Pt. 1: Metadata
Data Systems Integration & Business Value Pt. 1: MetadataDATAVERSITY
 

Similar to EContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdf (20)

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]
 
BAB 7 Pangkalan data new
BAB 7   Pangkalan data newBAB 7   Pangkalan data new
BAB 7 Pangkalan data new
 
1.1 Data Modelling - Part I (Understand Data Model).pdf
1.1 Data Modelling - Part I (Understand Data Model).pdf1.1 Data Modelling - Part I (Understand Data Model).pdf
1.1 Data Modelling - Part I (Understand Data Model).pdf
 
Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptx
Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptxChapter-3-Lesson 1 DM/ Data-Models.ppt/pptx
Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptx
 
1-SDLC - Development Models – Waterfall, Rapid Application Development, Agile...
1-SDLC - Development Models – Waterfall, Rapid Application Development, Agile...1-SDLC - Development Models – Waterfall, Rapid Application Development, Agile...
1-SDLC - Development Models – Waterfall, Rapid Application Development, Agile...
 
Data-Ed: Trends in Data Modeling
Data-Ed: Trends in Data ModelingData-Ed: Trends in Data Modeling
Data-Ed: Trends in Data Modeling
 
Data-Ed Online: Trends in Data Modeling
Data-Ed Online: Trends in Data ModelingData-Ed Online: Trends in Data Modeling
Data-Ed Online: Trends in Data Modeling
 
Types of data bases
Types of data basesTypes of data bases
Types of data bases
 
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptx
 
DBMS-2.pptx
DBMS-2.pptxDBMS-2.pptx
DBMS-2.pptx
 
Relational Database explanation with detail.pdf
Relational Database explanation with detail.pdfRelational Database explanation with detail.pdf
Relational Database explanation with detail.pdf
 
T-SQL
T-SQLT-SQL
T-SQL
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and Architecture
 
Introducition to Data scinece compiled by hu
Introducition to Data scinece compiled by huIntroducition to Data scinece compiled by hu
Introducition to Data scinece compiled by hu
 
Ch_2.pdf
Ch_2.pdfCh_2.pdf
Ch_2.pdf
 
Data models
Data modelsData models
Data models
 
database-model group presentation.pptx
database-model group   presentation.pptxdatabase-model group   presentation.pptx
database-model group presentation.pptx
 
Sachin noire 2024
Sachin noire 2024Sachin noire 2024
Sachin noire 2024
 
DBMS ppts unit1.pptx
DBMS ppts  unit1.pptxDBMS ppts  unit1.pptx
DBMS ppts unit1.pptx
 
Data Systems Integration & Business Value Pt. 1: Metadata
Data Systems Integration & Business Value Pt. 1: MetadataData Systems Integration & Business Value Pt. 1: Metadata
Data Systems Integration & Business Value Pt. 1: Metadata
 

Recently uploaded

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 

Recently uploaded (20)

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

EContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdf

  • 1. Data models - Unit IV an abstract view of the data 1
  • 3. Features of data modeling • • • • • It lays the foundation for data governance and management. It is neither the actual data nor the database that is to be used in the system. It represents the data entities, the relationship between different data entities, and the business rules, policies, etc. that govern the data and their activities. It helps in standardization mainly in naming the entities, setting default values, etc. The normalization process ensures redundant data are removed and the relationship and dependencies established are as per business. 3
  • 4. 4
  • 5. Good data models • • • • • • • • Clarity Consistency Accuracy Ease of access Flexibility Performance Productivity Traceability 5
  • 6. Types of data model • • • Conceptual Data Model: It gives a view of the business significance of each data entity and not a technical detail of data. Logical Data Model: It gives a detailed description of each data entity their attributes and the relationship between two entities giving business purpose to each data. Physical Data Model: It gives a technical view of the data i.e. , the table name, column name, datatype, constraints, indexes, primary key, etc. 6
  • 7. Conceptual model(ER diagram) • • • • • • • • Represents the business data as seen in the real world and as understood by businesses. easy understanding of the business data, concepts, and rules. The contributors are generally Business stakeholders and Data Architects. The main three components or elements of the Conceptual Data Model are Entity Attributes Relationship presents all the data entities referred to by the business and their characteristics called attributes and the dependency or the connection between entities called Relationships. 7
  • 8. 8
  • 9. Some commonly used Relationship notations: One to one: Employee and his joining details One to many: Employee and his workplace One and only one: Employee and his date of birth Zero or one: Employee and his place of demise Zero or many: Employee and his subordinates 9
  • 10. Logical Data Model • • • • extension of a conceptual model with more details. It is prepared by a data architect with inputs from the business. Logical data models give a detailed structure of the data elements and the data entity relationships in a system from the business point of view. It is independent of technology and technology changes do not impact the model. 10
  • 11. • • • • • • • • • • The logical model lays the foundation for the physical database The data attributes represented typically are the data type and their relationship with other entities. all attributes of an entity need to be mentioned without any omission. The relationship is not generic as presented in the conceptual data model The relationship is presented more explicitly with details like, Primary key Foreign key Parent-child dependent entity type Non-identifying relation The cardinality of the relationship. 11
  • 12. 12
  • 13. Physical model • • • • • • A physical data model is the layout of the actual database with all its components and services. This model depicts the actual database where the actual data is stored and is accessed in the production environment when users use the application. This model is for developers and other users who desire to query the actual data It is based on technology and the choice that has been made for the database and the version of the database i.e., ORACLE, SQL, etc. It is an extension of the Logical model and has more details like table names for the Entity. Column names are the attributes with more specifications like their exact datatype, length, and precision. In addition, it may also have derived data, i.e., data generated by a process in the application that needs to be stored for future reference. 13
  • 14. 14
  • 15. 15
  • 16. Hierarchical • • • • • • • • earliest and can represent simple data models. This model could handle one-to-many and one-to-one relations only. It has a root or a parent node and then follows a tree-like structure with other child nodes. Only one parent is allowed for a child node, and a parent node can have multiple child nodes. The navigation path to a child node is always through a parent node, so is slow and difficult. If a parent is deleted, then all child nodes get deleted. It is very easy and simple to understand. Complex data models cannot be represented using this technique. Data integrity is maintained in the parent-child relationship i.e., any change in the Parent is reflected in the child entity. 16
  • 17. 17
  • 18. Network model • • • • • • This model was the next one to be evolved from the hierarchical model. Here, a child node could have multiple parent nodes. This model could handle many-to-many relations in addition to one-to-one and one-to-many. Navigation is faster in this model, as there are multiple paths to reach a child entity. This model also gets very complex when data is large. The data update is more complex than the hierarchical model. 18
  • 19. 19
  • 20. Object-oriented • • • • Object-oriented databases gained popularity with object- oriented programming. A real-world entity is represented as an object and the object’s properties are the real-world entities’ attributes. The model presents a view as a collection of objects. Each object has its methods and features. 20
  • 21. 21
  • 23. Relational • • • • The relational Model is the most popular model. In this model, the Entity information is represented as a table. All the attributes are represented as columns. The relationship between entities is represented by different standard notations. 23
  • 25. Dimensional data modeling (DDM) • • • • Technique that uses Dimensions and Facts to store the data in a Data Warehouse efficiently. Data structure or Process that helps access data from data warehouse Have specific structure and organize data to generate effective reports It optimizes the database for faster retrieval of the data 25
  • 26. • • • • • Dimensions Facts Attributes Fact tables Dimension tables Refer to: https://hevodata.com/learn/dimensional-data-modelling/ 26
  • 27. Process of Dimensional Data Modeling 27 Build the Schema Identify the Facts Identify the Dimensio ns Identify the Grain Identify the Business Process
  • 28. The business process helps to identify the appropriate Dimension and Facts needed and maintain the quality of data 28 Identify the Grain • • The process of identifying how much normalization (lowest level of information) can be achieved within the data It is the stage to decide the incoming frequency of data (i.e.daily, weekly, monthly, yearly), how much data we want to store in the database (one day, one month, one year, ten years), and how much the storage will cost.
  • 29. 29 Identify the Facts Identify the Dimensio ns Dimensions - Detailed information about the objects like date, store, name, address, contacts, etc. Facts are the measures/ transactions linked with the associated Dimensions (via foreign keys). Usually, Facts contain fewer columns and huge rows. Eg: sales, daily ordered quantity etc.
  • 32. 32