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

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
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
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 

Recently uploaded (20)

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
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
 
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
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

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