SlideShare a Scribd company logo
Instructor : Dimara Kusuma Hakim, ST.
What Is Normalization? At its most basic level,  normalization is the process of simplifying your data  into its most efficient form by eliminating redundant data.  Efficiency, in this case, refers to reducing complexity from a logical  standpoint. Efficiency does not necessarily equal better performance, nor does it necessarily equate to efficient query processing.
Normal Forms E. F. Codd, who was the IBM researcher credited with the creation and evolution of the relational database, set forth a set of rules that define how data should be organized in a relational database. Initially, he proposed three sequential forms to classify data in a database:  first normal form (1NF) second normal form (2NF) third normal form (3NF).
Normal Forms …cont… After these initial normal forms were developed, research indicated that they could result in update anomalies, so three additional forms were developed to deal with these issues: fourth normal form (4NF), fifth normal form (5NF), and the Boyce-Codd normal form (BCNF). There has been research into a sixth normal form (6NF); this normal form has to do with temporal databases and is outside the scope of this discussion.
First Normal Form (1NF) In  first normal form, every entity in the database has a primary key attribute  (or set of attributes). Each attribute must have only one value, and not a set of values. For a database to be in 1NF it must not have any repeating groups . A  repeating group is data in which a single instance may  have multiple values for a given attribute.
1NF … cont…  example repeating group !  
Wrong way !  
The Right Way  
We’ve solved the problem by adding another entity that stores album names as well the attribute that represents the relationship to the artist entity. Neither of these entities has a repeating group, each attribute in both entities holds a single value, and all of the previously mentioned query problems have been eliminated.
Second Normal Form (2NF) Second normal form (2NF) specifies that, in addition to meeting 1NF,  all non-key attributes have a functional dependency on the entire primary key.  A  functional dependency is a one-way relationship between the primary  key attribute (or attributes) and all other non-key attributes in the same entity.
 
 
Third Normal Form (3NF) Third normal form is the form that most well-designed databases meet.  3NF extends 2NF to include the elimination of transitive dependencies. Transitive dependencies are dependencies that arise from a non-key  attribute relying on another non-key attribute that relies on the primary key. In other words, if there is an attribute that doesn’t rely on the primary key but does rely on another attribute, then the first attribute has a transitive dependency.
The differences between 2NF and 3NF are very subtle. 2NF deals with partial dependency, and 3NF with transitive dependency. A  Partial Dependency means that attributes in the entity don’t rely entirely  on the primary key.  Transitive Dependency  means that attributes in the entity don’t rely on the primary key at all, but they do rely on another non-key attribute in the table. In either case, removing the offending attribute (and related attributes, in the 3NF case) to another entity solves the problem.
NORMALIZATION VS. DENORMALIZATION Normalization means reducing duplicate data by using  keys or IDs to relate rows of information from one table to another, for example, customers and their orders. Denormalization means the opposite, which is deliberately duplicating data in one or more structures.
Cont…. NORMALIZATION VS. DENORMALIZATION Normalization  improves the efficiency of inserting, updating, or deleting data. The fewer places the data has to be updated, the more efficient the update and the greater the data integrity. Denormalization improves the efficiency of reading or selecting data and reduces the number of tables the data engine has to access or the number of calculations it has to perform to provide information.

More Related Content

What's hot (20)

PDF
Normalization in Database
Roshni Singh
 
PPTX
Normalization
thuvarakan28
 
PPTX
Entity relationship diagram - Concept on normalization
Satya Pal
 
PPTX
Normalization 1 nf,2nf,3nf,bcnf
Shriya agrawal
 
PPT
Normalization PRESENTATION
bit allahabad
 
PPTX
Dbms 4NF & 5NF
Soham Kansodaria
 
PPT
Normalization
lingesan
 
PPT
Normalization
Altafsoomro
 
PDF
Normalization in DBMS
Hitesh Mohapatra
 
PDF
Database Systems - Normalization of Relations(Chapter 4/3)
Vidyasagar Mundroy
 
DOCX
Research gadot
Jotham Gadot
 
PPTX
Database.ppt
amuthadeepa
 
PPTX
Database Normalisation
Amin Omi
 
PPTX
Normalization in DBMS
Prateek Parimal
 
DOC
Faq dbms
ANIRUDHTYAGI2010
 
PPT
Normalisation - 2nd normal form
college
 
DOCX
Primera forma normal
Adrian Miranda
 
PPTX
Database normalization
Jignesh Jain
 
DOCX
Normalization
Ramesh 4
 
PPTX
Normalization
Neethu Tressa
 
Normalization in Database
Roshni Singh
 
Normalization
thuvarakan28
 
Entity relationship diagram - Concept on normalization
Satya Pal
 
Normalization 1 nf,2nf,3nf,bcnf
Shriya agrawal
 
Normalization PRESENTATION
bit allahabad
 
Dbms 4NF & 5NF
Soham Kansodaria
 
Normalization
lingesan
 
Normalization
Altafsoomro
 
Normalization in DBMS
Hitesh Mohapatra
 
Database Systems - Normalization of Relations(Chapter 4/3)
Vidyasagar Mundroy
 
Research gadot
Jotham Gadot
 
Database.ppt
amuthadeepa
 
Database Normalisation
Amin Omi
 
Normalization in DBMS
Prateek Parimal
 
Normalisation - 2nd normal form
college
 
Primera forma normal
Adrian Miranda
 
Database normalization
Jignesh Jain
 
Normalization
Ramesh 4
 
Normalization
Neethu Tressa
 

Viewers also liked (6)

PPT
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Oum Saokosal
 
DOCX
Dbm 380 week 3 learning team ms access tables
raichanara1973
 
PPTX
Normalization in Database
Afrasiyab Haider
 
PPT
Normalization of database tables
Dhani Ahmad
 
PPT
Lecture 04 normalization
emailharmeet
 
PPT
Normalization of database_tables_chapter_4
Farhan Chishti
 
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Oum Saokosal
 
Dbm 380 week 3 learning team ms access tables
raichanara1973
 
Normalization in Database
Afrasiyab Haider
 
Normalization of database tables
Dhani Ahmad
 
Lecture 04 normalization
emailharmeet
 
Normalization of database_tables_chapter_4
Farhan Chishti
 
Ad

Similar to b - Normalizing a Data Model (20)

PPTX
Presentation on Normalization.pptx
kshipra sony
 
PPTX
Normalization
Ahmed Farag
 
PPTX
Normalization
Prabal Chauhan
 
PPTX
Four Types of Normalization in DBMS Explained
kuthubussaman1
 
PPTX
Normalization in Relational database management systems
backiyalakshmi14
 
PPTX
Normalization in rdbms types and examples
BackiyalakshmiVenkat
 
PDF
What is Database NormalizationExplain the guidelines for ensuring t.pdf
arjunstores123
 
PDF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Biplap Bhattarai
 
PPTX
Normalization in RDBMS
JananiSelvaraj10
 
PDF
Assignment#11
Sunita Milind Dol
 
PDF
Types of normalization
PratibhaRashmiSingh
 
PDF
Advanced Normalization
Abdullah Khosa
 
PDF
functionaldependenciesandnormalization-150628061940-lva1-app6891.pdf
Anvesha Joshi
 
PPTX
Functional dependencies and normalization
daxesh chauhan
 
PPTX
Jai dbms
JAI BAMORIYA
 
PPTX
Kumar lav
kumar Lav
 
PPTX
Database Normalization a topic of data base for BS program and others.
sajidraza88875
 
PPTX
normalisation jdsuhduswwhdusw cdscsacasc.pptx
angelinjeba6
 
PPT
Normalization.ppt
ssuser7e9b941
 
Presentation on Normalization.pptx
kshipra sony
 
Normalization
Ahmed Farag
 
Normalization
Prabal Chauhan
 
Four Types of Normalization in DBMS Explained
kuthubussaman1
 
Normalization in Relational database management systems
backiyalakshmi14
 
Normalization in rdbms types and examples
BackiyalakshmiVenkat
 
What is Database NormalizationExplain the guidelines for ensuring t.pdf
arjunstores123
 
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Biplap Bhattarai
 
Normalization in RDBMS
JananiSelvaraj10
 
Assignment#11
Sunita Milind Dol
 
Types of normalization
PratibhaRashmiSingh
 
Advanced Normalization
Abdullah Khosa
 
functionaldependenciesandnormalization-150628061940-lva1-app6891.pdf
Anvesha Joshi
 
Functional dependencies and normalization
daxesh chauhan
 
Jai dbms
JAI BAMORIYA
 
Kumar lav
kumar Lav
 
Database Normalization a topic of data base for BS program and others.
sajidraza88875
 
normalisation jdsuhduswwhdusw cdscsacasc.pptx
angelinjeba6
 
Normalization.ppt
ssuser7e9b941
 
Ad

More from Dimara Hakim (20)

PDF
Simulasi - Pertemuan IV
Dimara Hakim
 
PDF
Simulasi - Pertemuan II
Dimara Hakim
 
PPT
Simulasi - Pertemuan III
Dimara Hakim
 
PPT
Simulasi - Pertemuan I
Dimara Hakim
 
PPT
Transaction
Dimara Hakim
 
PDF
modul6
Dimara Hakim
 
PPT
JENI Slides-Intro1-Bab06-Struktur kontrol
Dimara Hakim
 
PPT
Desain Top Down
Dimara Hakim
 
PPT
Pemrograman Modular
Dimara Hakim
 
PPT
Struktur Level Program
Dimara Hakim
 
PPT
Struktur Level Data
Dimara Hakim
 
PPT
Denormalisasi
Dimara Hakim
 
PDF
query optimization
Dimara Hakim
 
PDF
ELS
Dimara Hakim
 
PDF
ASC
Dimara Hakim
 
PPT
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASI
Dimara Hakim
 
PPT
Tugas 1
Dimara Hakim
 
PPT
Disk-based storage
Dimara Hakim
 
PPT
Index
Dimara Hakim
 
PPT
Physical elements of data
Dimara Hakim
 
Simulasi - Pertemuan IV
Dimara Hakim
 
Simulasi - Pertemuan II
Dimara Hakim
 
Simulasi - Pertemuan III
Dimara Hakim
 
Simulasi - Pertemuan I
Dimara Hakim
 
Transaction
Dimara Hakim
 
modul6
Dimara Hakim
 
JENI Slides-Intro1-Bab06-Struktur kontrol
Dimara Hakim
 
Desain Top Down
Dimara Hakim
 
Pemrograman Modular
Dimara Hakim
 
Struktur Level Program
Dimara Hakim
 
Struktur Level Data
Dimara Hakim
 
Denormalisasi
Dimara Hakim
 
query optimization
Dimara Hakim
 
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASI
Dimara Hakim
 
Tugas 1
Dimara Hakim
 
Disk-based storage
Dimara Hakim
 
Physical elements of data
Dimara Hakim
 

Recently uploaded (20)

PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
July Patch Tuesday
Ivanti
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Biography of Daniel Podor.pdf
Daniel Podor
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
July Patch Tuesday
Ivanti
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 

b - Normalizing a Data Model

  • 1. Instructor : Dimara Kusuma Hakim, ST.
  • 2. What Is Normalization? At its most basic level, normalization is the process of simplifying your data into its most efficient form by eliminating redundant data. Efficiency, in this case, refers to reducing complexity from a logical standpoint. Efficiency does not necessarily equal better performance, nor does it necessarily equate to efficient query processing.
  • 3. Normal Forms E. F. Codd, who was the IBM researcher credited with the creation and evolution of the relational database, set forth a set of rules that define how data should be organized in a relational database. Initially, he proposed three sequential forms to classify data in a database: first normal form (1NF) second normal form (2NF) third normal form (3NF).
  • 4. Normal Forms …cont… After these initial normal forms were developed, research indicated that they could result in update anomalies, so three additional forms were developed to deal with these issues: fourth normal form (4NF), fifth normal form (5NF), and the Boyce-Codd normal form (BCNF). There has been research into a sixth normal form (6NF); this normal form has to do with temporal databases and is outside the scope of this discussion.
  • 5. First Normal Form (1NF) In first normal form, every entity in the database has a primary key attribute (or set of attributes). Each attribute must have only one value, and not a set of values. For a database to be in 1NF it must not have any repeating groups . A repeating group is data in which a single instance may have multiple values for a given attribute.
  • 6. 1NF … cont… example repeating group ! 
  • 9. We’ve solved the problem by adding another entity that stores album names as well the attribute that represents the relationship to the artist entity. Neither of these entities has a repeating group, each attribute in both entities holds a single value, and all of the previously mentioned query problems have been eliminated.
  • 10. Second Normal Form (2NF) Second normal form (2NF) specifies that, in addition to meeting 1NF, all non-key attributes have a functional dependency on the entire primary key. A functional dependency is a one-way relationship between the primary key attribute (or attributes) and all other non-key attributes in the same entity.
  • 11.  
  • 12.  
  • 13. Third Normal Form (3NF) Third normal form is the form that most well-designed databases meet. 3NF extends 2NF to include the elimination of transitive dependencies. Transitive dependencies are dependencies that arise from a non-key attribute relying on another non-key attribute that relies on the primary key. In other words, if there is an attribute that doesn’t rely on the primary key but does rely on another attribute, then the first attribute has a transitive dependency.
  • 14. The differences between 2NF and 3NF are very subtle. 2NF deals with partial dependency, and 3NF with transitive dependency. A Partial Dependency means that attributes in the entity don’t rely entirely on the primary key. Transitive Dependency means that attributes in the entity don’t rely on the primary key at all, but they do rely on another non-key attribute in the table. In either case, removing the offending attribute (and related attributes, in the 3NF case) to another entity solves the problem.
  • 15. NORMALIZATION VS. DENORMALIZATION Normalization means reducing duplicate data by using keys or IDs to relate rows of information from one table to another, for example, customers and their orders. Denormalization means the opposite, which is deliberately duplicating data in one or more structures.
  • 16. Cont…. NORMALIZATION VS. DENORMALIZATION Normalization improves the efficiency of inserting, updating, or deleting data. The fewer places the data has to be updated, the more efficient the update and the greater the data integrity. Denormalization improves the efficiency of reading or selecting data and reduces the number of tables the data engine has to access or the number of calculations it has to perform to provide information.