SlideShare a Scribd company logo
1 of 26
Download to read offline
DE Normalization
HELLO!
I am Khuram Shahzad
I am here because I love to give presentations.
You can find me at twitter.com/@_kkhuramshahzad
2
Objectives:-
3
▰ Introduction
▰ Definition
▰ Why and when to de
normalize data
▰ Method of de
normalization
▰ Advantages and
disadvantages of
DE normalization
▰ Summary
Introduction
4
Introduction
❑ Result of normalization is Designed:
structurally consistent with Minimal redundancy.
❑ However Sometimes: normalized database
does not provide maximum processing efficiency.
❑ At this point we move toward:
👉De Normalization
55
Definition
Definition:-
▰ De normalization is a process of combine two
relation into one new relation.
▰ DE normalization is the process of taking a normalized database and
modifying table structures to allow controlled redundancy for
increased database performance .
▰ It sometimes claimed to make the database
easier to understand.
7
When and Why to De Normaize
8
1. Is the system’s performance unacceptable with fully
normalized data?
2. If the performance is unacceptable, will de
normalizing make it acceptable?
3. If you de normalize to clear those bottlenecks, will
the system and its data still be reliable?
Why
When…
▰ Speed up retrievals.
▰ A strict performance is required.
▰ It is not heavily updated.
- So, De normalize only when there is a very clear
advantage to doing
9
Method of De
Normalization
10
Method of De Normalization:-
❑ Adding Redundant (unnecessary) Columns.
❑ Adding Derived Columns.
❑ Combining Tables.
❑ Repeating Groups.
❑ Creating extract tables.
❑ Partitioning Relations.
11
Adding Redundant Columns.
▰ Adding redundant columns eliminates joins for
many queries. The problems with this solution
are that it:
• Requires maintenance of new column. All
changes must be made to two tables, and
possibly to many rows in one of the tables.
• Requires more disk space, since au_lname is
duplicated.
12
13
Combining Tables
▰ • If most users need to see the full set of joined data
from two tables, collapsing the two tables into one
can improve performance by eliminating the join.
▰
• For example, users frequently need to see the author name, author
ID, and the blurbs copy data at the same time. The solution is to
collapse the two tables into one. The data from the two tables
must be in a one-to-one relationship to collapse tables.
14
15
16
Adding Derived Columns.
▰ • Adding derived columns can help eliminate
joins and reduce the time needed to produce
aggregate values.
• The example shows both benefits. Frequent
joins are needed between the titleauthor and
titles tables to provide the total advance for a
particular book title.
17
18
Repeating Groups
19
These repeating groups can be stored as a nested
table within the original table
20
Advantages vs
Disadvantages
21
Advantages
22
✓ Minimizing the need for joins.
✓ Reducing the number of foreign keys in
relations.
✓ Reducing the number of relations.
✓ Precomputing derived data.
Disadvantages
X May speed up retrievals but can slow down updates.
X Always application-specific and needs to be reevaluated
in the application changes.
X Can increase the size of relations.
X May simplify implementation in some cases but
may make it more complex in other.
X reduce flexibility
23
Summary
24
Summary
o DE normalization aids the process of adding redundancy to the database to
improve performance .
o DE normalize can be done with tables or columns.
o Require acknowledges of how data is being used .
o There are costs of DE normalization reduces the “integrity” of the design ,always
slow DML (data manipulation language) , need more memory space to store
redundant data and required additional
programming to maintain the DE normalized data
25
26
THANKS!
Any questions?

More Related Content

What's hot

What's hot (20)

Stateful data serialization
Stateful data serializationStateful data serialization
Stateful data serialization
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
Dbms schema & instance
Dbms schema & instanceDbms schema & instance
Dbms schema & instance
 
2 normalization
2 normalization2 normalization
2 normalization
 
Distributed database management systems
Distributed database management systemsDistributed database management systems
Distributed database management systems
 
Mi0034 summer-2016
Mi0034 summer-2016Mi0034 summer-2016
Mi0034 summer-2016
 
Denormalization
DenormalizationDenormalization
Denormalization
 
My Presentation
My PresentationMy Presentation
My Presentation
 
Supporting Transactions
Supporting TransactionsSupporting Transactions
Supporting Transactions
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Normalisation - 2nd normal form
Normalisation - 2nd normal formNormalisation - 2nd normal form
Normalisation - 2nd normal form
 
Ch1- Introduction to dbms
Ch1- Introduction to dbmsCh1- Introduction to dbms
Ch1- Introduction to dbms
 
Teradata a z
Teradata a zTeradata a z
Teradata a z
 
Normalization
NormalizationNormalization
Normalization
 
Normalization,ddl,dml,dcl
Normalization,ddl,dml,dclNormalization,ddl,dml,dcl
Normalization,ddl,dml,dcl
 
Software architecture case study - why and why not sql server replication
Software architecture   case study - why and why not sql server replicationSoftware architecture   case study - why and why not sql server replication
Software architecture case study - why and why not sql server replication
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Functions of dbms
Functions  of dbmsFunctions  of dbms
Functions of dbms
 
Relational data model
Relational data modelRelational data model
Relational data model
 
Normalization
NormalizationNormalization
Normalization
 

Similar to De normalozation

denormalization.ppt
denormalization.pptdenormalization.ppt
denormalization.pptABUSUFYAN55
 
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptxAshokRachapalli1
 
PostgreSQL Table Partitioning / Sharding
PostgreSQL Table Partitioning / ShardingPostgreSQL Table Partitioning / Sharding
PostgreSQL Table Partitioning / ShardingAmir Reza Hashemi
 
Oracle 12 c new-features
Oracle 12 c new-featuresOracle 12 c new-features
Oracle 12 c new-featuresNavneet Upneja
 
Chapter 8(designing of documnt databases)no sql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortalsChapter 8(designing of documnt databases)no sql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortalsnehabsairam
 
overview of_data_processing
overview of_data_processingoverview of_data_processing
overview of_data_processingFEG
 
Relational data modeling trends for transactional applications
Relational data modeling trends for transactional applicationsRelational data modeling trends for transactional applications
Relational data modeling trends for transactional applicationsIke Ellis
 
Data Preprocessing || Data Mining
Data Preprocessing || Data MiningData Preprocessing || Data Mining
Data Preprocessing || Data MiningIffat Firozy
 
6 Data Modeling for NoSQL 2/2
6 Data Modeling for NoSQL 2/26 Data Modeling for NoSQL 2/2
6 Data Modeling for NoSQL 2/2Fabio Fumarola
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDr. GOPINATH D
 
Data warehousing change in a challenging environment
Data warehousing change in a challenging environmentData warehousing change in a challenging environment
Data warehousing change in a challenging environmentDavid Walker
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBKnoldus Inc.
 
Myth busters - performance tuning 102 2008
Myth busters - performance tuning 102 2008Myth busters - performance tuning 102 2008
Myth busters - performance tuning 102 2008paulguerin
 

Similar to De normalozation (20)

Cs437 lecture 7-8
Cs437 lecture 7-8Cs437 lecture 7-8
Cs437 lecture 7-8
 
Teradata sql-tuning-top-10
Teradata sql-tuning-top-10Teradata sql-tuning-top-10
Teradata sql-tuning-top-10
 
denormalization.ppt
denormalization.pptdenormalization.ppt
denormalization.ppt
 
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
 
Dremel Paper Review
Dremel Paper ReviewDremel Paper Review
Dremel Paper Review
 
PostgreSQL Table Partitioning / Sharding
PostgreSQL Table Partitioning / ShardingPostgreSQL Table Partitioning / Sharding
PostgreSQL Table Partitioning / Sharding
 
Oracle 12 c new-features
Oracle 12 c new-featuresOracle 12 c new-features
Oracle 12 c new-features
 
Chapter 8(designing of documnt databases)no sql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortalsChapter 8(designing of documnt databases)no sql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortals
 
overview of_data_processing
overview of_data_processingoverview of_data_processing
overview of_data_processing
 
Relational data modeling trends for transactional applications
Relational data modeling trends for transactional applicationsRelational data modeling trends for transactional applications
Relational data modeling trends for transactional applications
 
Data warehouse physical design
Data warehouse physical designData warehouse physical design
Data warehouse physical design
 
Lecture 2
Lecture 2 Lecture 2
Lecture 2
 
Data Preprocessing || Data Mining
Data Preprocessing || Data MiningData Preprocessing || Data Mining
Data Preprocessing || Data Mining
 
6 Data Modeling for NoSQL 2/2
6 Data Modeling for NoSQL 2/26 Data Modeling for NoSQL 2/2
6 Data Modeling for NoSQL 2/2
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
 
Unit 2 DBMS.pptx
Unit 2 DBMS.pptxUnit 2 DBMS.pptx
Unit 2 DBMS.pptx
 
DBMS Part-4.pdf
DBMS Part-4.pdfDBMS Part-4.pdf
DBMS Part-4.pdf
 
Data warehousing change in a challenging environment
Data warehousing change in a challenging environmentData warehousing change in a challenging environment
Data warehousing change in a challenging environment
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Myth busters - performance tuning 102 2008
Myth busters - performance tuning 102 2008Myth busters - performance tuning 102 2008
Myth busters - performance tuning 102 2008
 

Recently uploaded

Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 

Recently uploaded (20)

Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 

De normalozation

  • 2. HELLO! I am Khuram Shahzad I am here because I love to give presentations. You can find me at twitter.com/@_kkhuramshahzad 2
  • 3. Objectives:- 3 ▰ Introduction ▰ Definition ▰ Why and when to de normalize data ▰ Method of de normalization ▰ Advantages and disadvantages of DE normalization ▰ Summary
  • 5. Introduction ❑ Result of normalization is Designed: structurally consistent with Minimal redundancy. ❑ However Sometimes: normalized database does not provide maximum processing efficiency. ❑ At this point we move toward: 👉De Normalization 55
  • 7. Definition:- ▰ De normalization is a process of combine two relation into one new relation. ▰ DE normalization is the process of taking a normalized database and modifying table structures to allow controlled redundancy for increased database performance . ▰ It sometimes claimed to make the database easier to understand. 7
  • 8. When and Why to De Normaize 8 1. Is the system’s performance unacceptable with fully normalized data? 2. If the performance is unacceptable, will de normalizing make it acceptable? 3. If you de normalize to clear those bottlenecks, will the system and its data still be reliable? Why
  • 9. When… ▰ Speed up retrievals. ▰ A strict performance is required. ▰ It is not heavily updated. - So, De normalize only when there is a very clear advantage to doing 9
  • 11. Method of De Normalization:- ❑ Adding Redundant (unnecessary) Columns. ❑ Adding Derived Columns. ❑ Combining Tables. ❑ Repeating Groups. ❑ Creating extract tables. ❑ Partitioning Relations. 11
  • 12. Adding Redundant Columns. ▰ Adding redundant columns eliminates joins for many queries. The problems with this solution are that it: • Requires maintenance of new column. All changes must be made to two tables, and possibly to many rows in one of the tables. • Requires more disk space, since au_lname is duplicated. 12
  • 13. 13
  • 14. Combining Tables ▰ • If most users need to see the full set of joined data from two tables, collapsing the two tables into one can improve performance by eliminating the join. ▰ • For example, users frequently need to see the author name, author ID, and the blurbs copy data at the same time. The solution is to collapse the two tables into one. The data from the two tables must be in a one-to-one relationship to collapse tables. 14
  • 15. 15
  • 16. 16
  • 17. Adding Derived Columns. ▰ • Adding derived columns can help eliminate joins and reduce the time needed to produce aggregate values. • The example shows both benefits. Frequent joins are needed between the titleauthor and titles tables to provide the total advance for a particular book title. 17
  • 18. 18
  • 19. Repeating Groups 19 These repeating groups can be stored as a nested table within the original table
  • 20. 20
  • 22. Advantages 22 ✓ Minimizing the need for joins. ✓ Reducing the number of foreign keys in relations. ✓ Reducing the number of relations. ✓ Precomputing derived data.
  • 23. Disadvantages X May speed up retrievals but can slow down updates. X Always application-specific and needs to be reevaluated in the application changes. X Can increase the size of relations. X May simplify implementation in some cases but may make it more complex in other. X reduce flexibility 23
  • 25. Summary o DE normalization aids the process of adding redundancy to the database to improve performance . o DE normalize can be done with tables or columns. o Require acknowledges of how data is being used . o There are costs of DE normalization reduces the “integrity” of the design ,always slow DML (data manipulation language) , need more memory space to store redundant data and required additional programming to maintain the DE normalized data 25