SlideShare a Scribd company logo
NORMALIZATION
NORMALIZATION
 Normalization is a method of breaking
down complex table structures into
simple table structures by using
certain rules.
 It is a process of refining data model
built by E-R diagram.
 We can reduce redundancy in a table.
 Eliminate problems of inconsistency.
NEED FOR NORMALIZATION
 Improves database design.
 Ensure minimal redundancy.
 To make relation simple and easier.
 To increase performance of a system.
TYPES OF NORMALIZATION
 First Normal Form (1NF)
 Second Normal Form (2NF)
 Third Normal Form (3NF)
 Boyce – codd Normal Form (BCNF)
 Fourth Normal Form (4NF)
 Fifth Normal Form (5NF)
 First , Second and Third Normal Forms were
defined by Dr. E.F.Codd.
FIRST NORMAL FORM
 It contain no repeating groups.
 A table is said to be in 1NF when each cell
of table contain only one value.
The Definition of 1NF has been expressed in
following two terms:
 In every tuple of relation R, no attribute
should have repeating groups.
 In every tuple of relation R , each attribute
must have a value and that too atomic value.
TABLE PROJECT
ECODE DEPT PROJ
CODE
HOUR
S
E 101 System P27
P51
P20
90
101
60
E 305 Sales P27 109
E 508 Admin P51
P27
NULL
72
TO BRING AN UNNORMALIZED
RELATION INTO 1NF,PERFORM
FOLLOWING STEPS:
 Remove all the repeating groups from
the relation.
 Decompose non-atomic attributes to
atomic attributes.
By applying 1NF, we arrive the
following table.
ECODE DEPT PROJCODE HOU
RS
E 101 Systems P 27 90
E 101 Systems P 51 101
E 101 Systems P 20 60
E 305 Sales P 27 10
E 508 Admin P 51 Null
E 508 Admin P 27 72
ANOMALIES IN 1NF
 INSERT: we can’t insert the information about
any projcode until the person join any dept.
 UPDATE : If the ECODE is to be modified,it
has to be changed throughout the
table.Missing out even single correction
would result inconsistency.
 DELETE: If information related to a specific
column is to be deleted, the entire row has to
be deleted which results in loss of required
information.
SECOND NORMAL FORM
 Second normal form is based in
concept of fully functional dependency.
 A relation that is in first normal form and
all it’s non key fields are fully dependent
upon whole key.
Consider a table :
ECode Projcode dept hours
E 101 P27 System 90
E 305 P27 Finance 10
E 508 P51 Admin Null
E 101 P51 System 101
E 101 P20 System 60
E 508 P27 admin 72
This could lead to following
problems:
 INSERT : The dept. of a particular employee
can’t be recorded until the employee is assigned
a project.
 UPDATE : The employee code and dept. are
repeated many times.hence if employee is
transferred to another dept. this change will have
to recorded in every row of table.
 DELETE : If employee complete work on a
project ,the employee’s record will be
deleted.The information related to the dept. to
which the employee belongs will also be lost.
Guidelines for converting a table
into 2NF
 Find and remove attributes that are
functionally dependent on only a part of
a key not on whole key.place them in a
different table.
 Group the remaining attributes.
Employee Dept
ECODE DEPT
E101 Systems
E305 Sales
E508 Admin
Project
E code Proj code hours
E101 P27 90
E101 P51 101
E101 P20 60
E305 P27 10
E308 P51 NULL
E308 P27 72
THIRD NORMAL FORM
 A relation that is in 1st
and 2nd
normal
form and every non key attributes are
functionally dependent only on primary
key.
Ecod
e
Dept DeptHead
E101 Systems E901
E305 Finance E905
E402 Sales E906
E508 Admin E908
E807 Finance E909
E608 Finance E909
The following problem arises:
 INSERT : The dept head of a new dept that does
not have any employee at present cannot be
entered in dept head column because primary key
is unknown.
 UPDATE : The code for a particular dept head is
repeated several times.if dept head is moved to
another dept ,the change will have to made
consistently across the table.
 DELETE : If record of employee is deleted ,the
information regarding head will also be
deleted.There will be loss of information.
Guidelines for converting table
into 3NF:
 Find and remove non-key attribute that
are functionally dependent on attributes
that are not the primary key.place them
in a different table.
 Group the remaining attributes.
Employee
Ecode Dept
E101 System
E305 Finance
E402 Sales
E508 Admin
E607 Finance
E608 finance
Department
Dept Dept Head
Systems E901
Sales E906
Admin E908
finance E909
BOYCE-CODD NORMAL
FORM
The 3NF was not satisfactory for some
tables:
 That had multiple candidate keys.
 Where the multiple candidate keys were
composite.
 Where multiple candidate keys
overlapped(one attribute common).
BCNF:
 A relation is in the BCNF if and only if
every determinant is a candidate
key.Here determinant is a single
attribute or composite attribute on which
some other attribute is fully functionally
dependent.
Guidelines for converting a table
into BCNF:
 Find and remove overlapping candidate
keys.place the part of candidate key
and the attribute it is functionally
dependent.
 Group the remaining items into a table.
STUDENT,SUBJECT,TEACHER
STUDENT SUBJECT TEACHER
Ajay
Ajay
Kumar
Kumar
Math
Physics
Math
Physics
Prof.White
Prof.Green
Prof.White
Prof.Neha
BCNF:
If we wish to delete the
information that kumar is
study physics, we can’t do
so without loosing the
information that prof. Neha
teaches English.
Removal of
anomalies of BCNF
In order to make candidate
key teacher must be
candidate key.so original table
is break down to two table
1.(Student,Teacher)
2.(Teacher,subject)
FOURTH NORMAL FORM
 A relation is said to be fourth normal
form(4NF) if and only if it is in third
normal or Boyce-Code Normal form and
it must have almost one or it should not
have more than one multivalued
dependency.
COURSE-STUDENT-BOOK
COURSE STUNAME TEXT-BOOK
PHYSICS
PHYSICS
PHYSICS
PHYSICS
CHEMISTRY
CHEMISTRY
ENGLISH
ENGLISH
ANKIT
ANKIT
RAHAT
RAHAT
ANKIT
ANKIT
RAJ
RAJ
MECHANICS
OPTICS
MECHANICS
OPTICS
O.C
I.C
ENGLISH
ENGLISH
RULE TO TRANSFER A RELATION
INTO FOURTH NORMAL FORM
COURSE-STUDENT
COURSE-
STUDENT
STUDENT-
NAME
PHYSICS
PHYSICS
CHEMISTRY
ENGLISH
ANKIT
RAHAT
ANKIT
RAJ
COURSE-BOOK
SUBJECT-
NAME
TEXT-BOOK
PHYSICS
PHYSICS
CHEMISTRY
CHEMISTRY
ENGLISH
ENGLISH
MECHANICS
OPTICS
O.CHEMISTRY
ING CHEMISTRY
ENGLISH
ENGLISH
FIFTH NORMAL FORM
 A relation is said to be in 5th
normal form
if it is in 4nf .
 It cannot be further non-loss
decomposed.
AGENT_COMPANY_PRODUCT
AGENT COMPANY PRODUCT
SUNEET
RAJ
RAJ
SUNEET
SUNEET
ABC
ABC
ABC
CDE
ABC
NUT
BOLT
NUT
BOLT
BOLT
THANK YOU.

More Related Content

Similar to NORMALIZATION, Need for normalization-34slides.PPT (20)

PPTX
DBMS: Week 10 - Database Design and Normalization
RashidFaridChishti
 
PPTX
1-161103092724.pzxsdfdsdrgdrgdfgdfgdfgdfgptx
wrushabhsirsat
 
PDF
Normalization in Database
A. S. M. Shafi
 
PDF
Assignment#11
Sunita Milind Dol
 
PPTX
Chapter Four Logical Database Design (Normalization).pptx
haymanot taddesse
 
PPTX
Jai dbms
JAI BAMORIYA
 
DOCX
Normalization
Ramesh 4
 
PPTX
Database.ppt
amuthadeepa
 
PPTX
Normalization in Database Management System.pptx
Roshni814224
 
PPTX
Four Types of Normalization in DBMS Explained
kuthubussaman1
 
PDF
Impact of Normalization in Future
ijtsrd
 
PDF
Normalization in DBMS
Hitesh Mohapatra
 
PPTX
Normal Forms in Database Management Systems.pptx
johnyj8
 
PPTX
Lecture 6.pptx
DilanAlmsa
 
PDF
What is Database NormalizationExplain the guidelines for ensuring t.pdf
arjunstores123
 
PPTX
Kumar lav
kumar Lav
 
PPTX
Database - Normalization
Mudasir Qazi
 
PPTX
Normalization,1st NF, 2nd NF, 3rd NF, BCNF, 4th NF, 5th NF
Harsh Parmar
 
PPTX
Chapter5.pptx
Venkateswara Babu Ravipati
 
DBMS: Week 10 - Database Design and Normalization
RashidFaridChishti
 
1-161103092724.pzxsdfdsdrgdrgdfgdfgdfgdfgptx
wrushabhsirsat
 
Normalization in Database
A. S. M. Shafi
 
Assignment#11
Sunita Milind Dol
 
Chapter Four Logical Database Design (Normalization).pptx
haymanot taddesse
 
Jai dbms
JAI BAMORIYA
 
Normalization
Ramesh 4
 
Database.ppt
amuthadeepa
 
Normalization in Database Management System.pptx
Roshni814224
 
Four Types of Normalization in DBMS Explained
kuthubussaman1
 
Impact of Normalization in Future
ijtsrd
 
Normalization in DBMS
Hitesh Mohapatra
 
Normal Forms in Database Management Systems.pptx
johnyj8
 
Lecture 6.pptx
DilanAlmsa
 
What is Database NormalizationExplain the guidelines for ensuring t.pdf
arjunstores123
 
Kumar lav
kumar Lav
 
Database - Normalization
Mudasir Qazi
 
Normalization,1st NF, 2nd NF, 3rd NF, BCNF, 4th NF, 5th NF
Harsh Parmar
 

Recently uploaded (20)

PPTX
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
Difference between write and update in odoo 18
Celine George
 
PDF
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
PPTX
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
PPTX
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
Introduction to Indian Writing in English
Trushali Dodiya
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
Difference between write and update in odoo 18
Celine George
 
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
infertility, types,causes, impact, and management
Ritu480198
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
Ad

NORMALIZATION, Need for normalization-34slides.PPT