SlideShare a Scribd company logo
NORMALIZATION
What is Normalization?
• Normalization is the process of organizing the data in the database.
• Normalization is used to minimize the redundancy from a relation or set of
relations. It is also used to eliminate undesirable characteristics like Insertion,
Update, and Deletion Anomalies.
• Normalization divides the larger table into smaller and links them using
relationships.
• The normal form is used to reduce redundancy from the database table.
Problems Without Normalization
 The main reason for normalizing the relations is removing these anomalies.
 Failure to eliminate anomalies leads to data redundancy and can cause data
integrity and other problems as the database grows.
 Normalization consists of a series of guidelines that helps to guide you in
creating a good database structure.
 If a table is not properly normalized and have data redundancy then it will not
only eat up extra memory space but will also make it difficult to handle and
update the database, without facing data loss.
 Insertion, Updation and Deletion Anomalies are very frequent if database is not
normalized.
 To understand these anomalies let us take an example of a Student table.
rollno name branch hod office_tel
401 Akon CSE Mr. X 53337
402 Bkon CSE Mr. X 53337
403 Ckon CSE Mr. X 53337
404 Dkon CSE Mr. X 53337
Example
 In the table above, we have data of 4 Computer Sci. students.
 As we can see,
 data for the fields branch, hod(Head of Department)
 office_tel is repeated for the students who are in the same branch in the
college,
 this is Data Redundancy.
Insertion Anomaly
 Suppose for a new admission, until and unless a student opts for a
branch, data of the student cannot be inserted, or else we will have to
set the branch information as NULL.
 Also, if we have to insert data of 100 students of same branch, then the
branch information will be repeated for all those 100 students.
 These scenarios are nothing but Insertion anomalies.
Updation Anomaly
 What if Mr. X leaves the college?
 or is no longer the HOD of computer science department?
 In that case all the student records will have to be updated, and if by
mistake we miss any record, it will lead to data inconsistency.
 This is Updation anomaly.
Deletion Anomaly
 In our Student table, two different information's are kept together,
Student information and Branch information.
 Hence, at the end of the academic year, if student records are deleted,
we will also lose the branch information.
 This is Deletion anomaly.
Normalization Rule
 Normalization rules are divided into the following normal forms:
1.First Normal Form
2.Second Normal Form
3.Third Normal Form
First Normal Form (1NF)
 For a table to be in the First Normal Form, it should follow the
following 4 rules:
1.It should only have single(atomic) valued attributes/columns.
2.Values stored in a column should be of the same domain
3.All the columns in a table should have unique names.
4.And the order in which data is stored, does not matter.
database   ds...normalization data  base
database   ds...normalization data  base
database   ds...normalization data  base
database   ds...normalization data  base
example
example
Second Normal Form (2NF)
 For a table to be in the Second Normal Form
1.It should be in the First Normal form.
2.And, it should not have Partial Dependency.
Second Normal Form (2NF
Second Normal Form (2NF
Second Normal Form (2NF

More Related Content

PPTX
normalization In data base lecture no sixth
PPTX
normalization-1.pptx
PPTX
Importance of Normalization
PDF
Normalisation [Slides].pdf introduction language
PPTX
Persentation of SAD 2
PPTX
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
PPTX
Normalization.pptx
PPT
MODULE 3 -Normalization_1.ppt moduled in design
normalization In data base lecture no sixth
normalization-1.pptx
Importance of Normalization
Normalisation [Slides].pdf introduction language
Persentation of SAD 2
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
Normalization.pptx
MODULE 3 -Normalization_1.ppt moduled in design

Similar to database ds...normalization data base (20)

PDF
DBMS 3.pdf
PPT
MODULE 3 -Normalization bwdhwbifnweipfnewknfqekndd_1.ppt
PPTX
Informal Design Guidelines for Relation Schemas.pptx
PDF
Chapter 4 notes DBMS.pdf
PPTX
Lecture 6.pptx
PPTX
DBMS (UNIT 2)
PPTX
04 CHAPTER FOUR - INTEGRITY CONSTRAINTS AND NORMALIZATION.pptx
PPT
When & Why\'s of Denormalization
PPT
Normalization
PPTX
Chapter 3 ( PART 2 ).pptx
PDF
transection mangemanrtin data bse mangement system .pdf
PPTX
Data Modeling
DOCX
Normalization
PPTX
Accounting Information System Related Data.pptx
PPTX
Dbms anomalies
PDF
Normalization in Database
PPTX
2 normalization
PPTX
Chapter Four Logical Database Design (Normalization).pptx
PDF
What is Database NormalizationExplain the guidelines for ensuring t.pdf
DBMS 3.pdf
MODULE 3 -Normalization bwdhwbifnweipfnewknfqekndd_1.ppt
Informal Design Guidelines for Relation Schemas.pptx
Chapter 4 notes DBMS.pdf
Lecture 6.pptx
DBMS (UNIT 2)
04 CHAPTER FOUR - INTEGRITY CONSTRAINTS AND NORMALIZATION.pptx
When & Why\'s of Denormalization
Normalization
Chapter 3 ( PART 2 ).pptx
transection mangemanrtin data bse mangement system .pdf
Data Modeling
Normalization
Accounting Information System Related Data.pptx
Dbms anomalies
Normalization in Database
2 normalization
Chapter Four Logical Database Design (Normalization).pptx
What is Database NormalizationExplain the guidelines for ensuring t.pdf
Ad

Recently uploaded (20)

PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
master seminar digital applications in india
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Lesson notes of climatology university.
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Classroom Observation Tools for Teachers
PPTX
Presentation on HIE in infants and its manifestations
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Institutional Correction lecture only . . .
PPTX
Cell Structure & Organelles in detailed.
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
RMMM.pdf make it easy to upload and study
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Microbial diseases, their pathogenesis and prophylaxis
human mycosis Human fungal infections are called human mycosis..pptx
01-Introduction-to-Information-Management.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
master seminar digital applications in india
Complications of Minimal Access Surgery at WLH
Lesson notes of climatology university.
Microbial disease of the cardiovascular and lymphatic systems
Classroom Observation Tools for Teachers
Presentation on HIE in infants and its manifestations
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Institutional Correction lecture only . . .
Cell Structure & Organelles in detailed.
Final Presentation General Medicine 03-08-2024.pptx
RMMM.pdf make it easy to upload and study
Module 4: Burden of Disease Tutorial Slides S2 2025
Ad

database ds...normalization data base

  • 2. What is Normalization? • Normalization is the process of organizing the data in the database. • Normalization is used to minimize the redundancy from a relation or set of relations. It is also used to eliminate undesirable characteristics like Insertion, Update, and Deletion Anomalies. • Normalization divides the larger table into smaller and links them using relationships. • The normal form is used to reduce redundancy from the database table.
  • 3. Problems Without Normalization  The main reason for normalizing the relations is removing these anomalies.  Failure to eliminate anomalies leads to data redundancy and can cause data integrity and other problems as the database grows.  Normalization consists of a series of guidelines that helps to guide you in creating a good database structure.  If a table is not properly normalized and have data redundancy then it will not only eat up extra memory space but will also make it difficult to handle and update the database, without facing data loss.  Insertion, Updation and Deletion Anomalies are very frequent if database is not normalized.
  • 4.  To understand these anomalies let us take an example of a Student table. rollno name branch hod office_tel 401 Akon CSE Mr. X 53337 402 Bkon CSE Mr. X 53337 403 Ckon CSE Mr. X 53337 404 Dkon CSE Mr. X 53337
  • 5. Example  In the table above, we have data of 4 Computer Sci. students.  As we can see,  data for the fields branch, hod(Head of Department)  office_tel is repeated for the students who are in the same branch in the college,  this is Data Redundancy.
  • 6. Insertion Anomaly  Suppose for a new admission, until and unless a student opts for a branch, data of the student cannot be inserted, or else we will have to set the branch information as NULL.  Also, if we have to insert data of 100 students of same branch, then the branch information will be repeated for all those 100 students.  These scenarios are nothing but Insertion anomalies.
  • 7. Updation Anomaly  What if Mr. X leaves the college?  or is no longer the HOD of computer science department?  In that case all the student records will have to be updated, and if by mistake we miss any record, it will lead to data inconsistency.  This is Updation anomaly.
  • 8. Deletion Anomaly  In our Student table, two different information's are kept together, Student information and Branch information.  Hence, at the end of the academic year, if student records are deleted, we will also lose the branch information.  This is Deletion anomaly.
  • 9. Normalization Rule  Normalization rules are divided into the following normal forms: 1.First Normal Form 2.Second Normal Form 3.Third Normal Form
  • 10. First Normal Form (1NF)  For a table to be in the First Normal Form, it should follow the following 4 rules: 1.It should only have single(atomic) valued attributes/columns. 2.Values stored in a column should be of the same domain 3.All the columns in a table should have unique names. 4.And the order in which data is stored, does not matter.
  • 17. Second Normal Form (2NF)  For a table to be in the Second Normal Form 1.It should be in the First Normal form. 2.And, it should not have Partial Dependency.