7
Most read
9
Most read
11
Most read
Normalization in DBMS
By
Mrs.R.SABITHA .,M.Sc.,M.Phil.,
Assistant Professor,
Department of Computer Science(SF)
V.V.Vanniaperumal College for Women,
Virudhunagar.
Overview
Database Normalization
• Data Anomalies Caused by:
–Update, Insertion, Deletion
–Brief History/Overview
–1st Normal Form
–2nd Normal Form
–3rd Normal Form
–Conclusion
Database Normalization
• The main goal of Database Normalization is to
restructure the logical data model of a
database to:
• Eliminate redundancy
• Organize data efficiently
• Reduce the potential for data anomalies.
Data Anomalies
• Data anomalies are inconsistencies in the data stored
in a database as a result of an operation such as
update, insertion, and/or deletion.
• Such inconsistencies may arise when have a
particular record stored in multiple locations and not
all of the copies are updated.
• We can prevent such anomalies by implementing 7
different level of normalization called Normal Forms
(NF)
• We’ll only look at the first three.
Brief History/Overview
• Database Normalization was first proposed by Edgar F. Codd.
• Codd defined the first three Normal Forms, which we’ll look
into, of the 7 known Normal Forms.
• In order to do normalization we must know what the
requirements are for each of the three Normal Forms that
we’ll go over.
• One of the key requirements to remember is that Normal
Forms are progressive. That is, in order to have 3rd NF we
must have 2nd NF and in order to have 2nd NF we must have 1st
NF.
1st Normal Form
The Requirements
• The requirements to satisfy the 1st NF:
– Each table has a primary key: minimal set of
attributes which can uniquely identify a record
– The values in each column of a table are atomic
(No multi-value attributes allowed).
– There are no repeating groups: two columns do
not store similar information in the same table.
1st Normal Form
Example
Un-normalized Students table:
Normalized Students table:
Student# AdvID AdvName AdvRoom Class1 Class2
123 123A James 555 102-8 104-9
124 123B Smith 467 209-0 102-8
Student# AdvID AdvName AdvRoom Class#
123 123A James 555 102-8
123 123A James 555 104-9
124 123B Smith 467 209-0
124 123B Smith 467 102-8
2nd Normal Form
The Requirements
• The requirements to satisfy the 2nd NF:
– All requirements for 1st NF must be met.
– Redundant data across multiple rows of a table
must be moved to a separate table.
• The resulting tables must be related to each other by
use of foreign key.
2nd Normal Form
Example
Students table
Registration table
Student# AdvID AdvName AdvRoom
123 123A James 555
124 123B Smith 467
Student# Class#
123 102-8
123 104-9
124 209-0
124 102-8
3rd Normal Form
The Requirements
• The requirements to satisfy the 3rd NF:
– All requirements for 2nd NF must be met.
– Eliminate fields that do not depend on the
primary key;
• That is, any field that is dependent not only on the
primary key but also on another field must be moved to
another table.
3rd Normal Form
Example
Students table:
Student table: Advisor table:
Student# AdvID AdvName AdvRoom
123 123A James 555
124 123B Smith 467
Student# AdvID
123 123A
124 123B
AdvID AdvName AdvRoom
123A James 555
123B Smith 467
3rd Normal Form
Example Cont.
Students table:
Registration table: Advisor table:
Student# Class#
123 102-8
123 104-9
124 209-0
124 102-8
AdvID AdvName AdvRoom
123A James 555
123B Smith 467
Student# AdvID
123 123A
124 123B
Conclusion
• We have seen how Database Normalization
can decrease redundancy, increase efficiency
and reduce anomalies by implementing three
of seven different levels of normalization
called Normal Forms. The first three NF’s are
usually sufficient for most small to medium
size applications.
References
• Hillyer Mike, MySQL AB. An Introduction to Database Normalization,
http://dev.mysql.com/tech-resources/articles/intro-to-normalization.html,
accessed October 17, 2006.
• Microsoft. Description of the database normalization basics,
http://support.microsoft.com/kb/283878 , accessed October 17, 2006.
• Wikipedia. Database Normalization.
http://en.wikipedia.org/wiki/Database_normalization.html , accessed October 17,
2006.
Thank You

More Related Content

PPTX
DHCP & DNS
PPT
normalization-1nf-to-3nf-with-same-example.ppt
PPTX
Integrity Constraints
PPTX
Database Concept - Normalization (1NF, 2NF, 3NF)
PPTX
Normalization in DBMS
PPTX
Distributed dbms architectures
PPTX
database Normalization
PPTX
Distribution transparency and Distributed transaction
DHCP & DNS
normalization-1nf-to-3nf-with-same-example.ppt
Integrity Constraints
Database Concept - Normalization (1NF, 2NF, 3NF)
Normalization in DBMS
Distributed dbms architectures
database Normalization
Distribution transparency and Distributed transaction

What's hot (20)

PPT
Normalization
PDF
Introduction to DBMS and SQL Overview
PPT
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
PPTX
Normalization in a Database
PPT
Unix.system.calls
PPTX
Dbms 4NF & 5NF
PPTX
Normalization
PPTX
Normal forms
PPTX
Query processing and optimization (updated)
PPTX
HTML5 and DHTML
PDF
Cs2303 theory of computation all anna University question papers
PPTX
Physical database design(database)
PPTX
Dbms normalization
PPTX
Instruction Formats
PPTX
Crash recovery in database
PPTX
Presentation on dns
PPTX
Integrity Constraints
PPT
Deadlock
PPTX
Concurrency control
PDF
Normalization in DBMS
Normalization
Introduction to DBMS and SQL Overview
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Normalization in a Database
Unix.system.calls
Dbms 4NF & 5NF
Normalization
Normal forms
Query processing and optimization (updated)
HTML5 and DHTML
Cs2303 theory of computation all anna University question papers
Physical database design(database)
Dbms normalization
Instruction Formats
Crash recovery in database
Presentation on dns
Integrity Constraints
Deadlock
Concurrency control
Normalization in DBMS
Ad

Similar to Database Normalization - First, second and Third Normal Forms with an example (20)

PPTX
Normal forms in DBMS1st Normal Form 2nd Normal Form 3rd Normal Form
PPTX
PPT
Roja128
PPT
Normalization
PPTX
PPTX
Kumar lav
PPTX
Normalization,1st NF, 2nd NF, 3rd NF, BCNF, 4th NF, 5th NF
PPTX
Normalization___________Presentation.pptx
PPT
Normalization
PPTX
normalization.pptx, DBMS Normalization First Normal Form and Second Normal Form
PPTX
Database - Normalization
PDF
Assignment#11
PPTX
normaliztion
PPTX
DBMS_Normalization_Updated_Presentation.pptx
PPTX
Normalization and three normal forms.pptx
PPTX
Sql server ___________session3-normailzation
PDF
Normalization in Database
PPSX
Normalization
PPTX
Exception & Database
Normal forms in DBMS1st Normal Form 2nd Normal Form 3rd Normal Form
Roja128
Normalization
Kumar lav
Normalization,1st NF, 2nd NF, 3rd NF, BCNF, 4th NF, 5th NF
Normalization___________Presentation.pptx
Normalization
normalization.pptx, DBMS Normalization First Normal Form and Second Normal Form
Database - Normalization
Assignment#11
normaliztion
DBMS_Normalization_Updated_Presentation.pptx
Normalization and three normal forms.pptx
Sql server ___________session3-normailzation
Normalization in Database
Normalization
Exception & Database
Ad

More from SABITHARASSISTANTPRO (7)

PPTX
WEB PROGRAMMING.Introduction to HTML Heading Tags Formatting Tags
PPTX
Deadlock in Operating SystemSystem Model Deadlock Characterization
PPTX
Deadlock in Operating system concept, Types of Deadlock
PPTX
Database Management System DBMS -SQL queries
PPT
Digital Signature.ppt
PPTX
APRIORI ALGORITHM -PPT.pptx
PPT
AVL tree animation.ppt
WEB PROGRAMMING.Introduction to HTML Heading Tags Formatting Tags
Deadlock in Operating SystemSystem Model Deadlock Characterization
Deadlock in Operating system concept, Types of Deadlock
Database Management System DBMS -SQL queries
Digital Signature.ppt
APRIORI ALGORITHM -PPT.pptx
AVL tree animation.ppt

Recently uploaded (20)

PDF
Review of Related Literature & Studies.pdf
PPTX
Copy of ARAL Program Primer_071725(1).pptx
PPTX
principlesofmanagementsem1slides-131211060335-phpapp01 (1).ppt
PDF
Chevening Scholarship Application and Interview Preparation Guide
PDF
LATAM’s Top EdTech Innovators Transforming Learning in 2025.pdf
PPTX
CHROMIUM & Glucose Tolerance Factor.pptx
PPTX
Neurology of Systemic disease all systems
PDF
Jana Ojana 2025 Prelims - School Quiz by Pragya - UEMK Quiz Club
PPTX
Single Visit Endodontics.pptx treatment in one visit
PDF
GIÁO ÁN TIẾNG ANH 7 GLOBAL SUCCESS (CẢ NĂM) THEO CÔNG VĂN 5512 (2 CỘT) NĂM HỌ...
PPTX
Neurological complocations of systemic disease
PDF
English 2nd semesteNotesh biology biopsy results from the other day and I jus...
PPTX
Unit1_Kumod_deeplearning.pptx DEEP LEARNING
PPTX
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
PDF
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
PPTX
Approach to a child with acute kidney injury
PPSX
namma_kalvi_12th_botany_chapter_9_ppt.ppsx
PPTX
Key-Features-of-the-SHS-Program-v4-Slides (3) PPT2.pptx
PDF
Unleashing the Potential of the Cultural and creative industries
PPT
hsl powerpoint resource goyloveh feb 07.ppt
Review of Related Literature & Studies.pdf
Copy of ARAL Program Primer_071725(1).pptx
principlesofmanagementsem1slides-131211060335-phpapp01 (1).ppt
Chevening Scholarship Application and Interview Preparation Guide
LATAM’s Top EdTech Innovators Transforming Learning in 2025.pdf
CHROMIUM & Glucose Tolerance Factor.pptx
Neurology of Systemic disease all systems
Jana Ojana 2025 Prelims - School Quiz by Pragya - UEMK Quiz Club
Single Visit Endodontics.pptx treatment in one visit
GIÁO ÁN TIẾNG ANH 7 GLOBAL SUCCESS (CẢ NĂM) THEO CÔNG VĂN 5512 (2 CỘT) NĂM HỌ...
Neurological complocations of systemic disease
English 2nd semesteNotesh biology biopsy results from the other day and I jus...
Unit1_Kumod_deeplearning.pptx DEEP LEARNING
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
Approach to a child with acute kidney injury
namma_kalvi_12th_botany_chapter_9_ppt.ppsx
Key-Features-of-the-SHS-Program-v4-Slides (3) PPT2.pptx
Unleashing the Potential of the Cultural and creative industries
hsl powerpoint resource goyloveh feb 07.ppt

Database Normalization - First, second and Third Normal Forms with an example

  • 1. Normalization in DBMS By Mrs.R.SABITHA .,M.Sc.,M.Phil., Assistant Professor, Department of Computer Science(SF) V.V.Vanniaperumal College for Women, Virudhunagar.
  • 2. Overview Database Normalization • Data Anomalies Caused by: –Update, Insertion, Deletion –Brief History/Overview –1st Normal Form –2nd Normal Form –3rd Normal Form –Conclusion
  • 3. Database Normalization • The main goal of Database Normalization is to restructure the logical data model of a database to: • Eliminate redundancy • Organize data efficiently • Reduce the potential for data anomalies.
  • 4. Data Anomalies • Data anomalies are inconsistencies in the data stored in a database as a result of an operation such as update, insertion, and/or deletion. • Such inconsistencies may arise when have a particular record stored in multiple locations and not all of the copies are updated. • We can prevent such anomalies by implementing 7 different level of normalization called Normal Forms (NF) • We’ll only look at the first three.
  • 5. Brief History/Overview • Database Normalization was first proposed by Edgar F. Codd. • Codd defined the first three Normal Forms, which we’ll look into, of the 7 known Normal Forms. • In order to do normalization we must know what the requirements are for each of the three Normal Forms that we’ll go over. • One of the key requirements to remember is that Normal Forms are progressive. That is, in order to have 3rd NF we must have 2nd NF and in order to have 2nd NF we must have 1st NF.
  • 6. 1st Normal Form The Requirements • The requirements to satisfy the 1st NF: – Each table has a primary key: minimal set of attributes which can uniquely identify a record – The values in each column of a table are atomic (No multi-value attributes allowed). – There are no repeating groups: two columns do not store similar information in the same table.
  • 7. 1st Normal Form Example Un-normalized Students table: Normalized Students table: Student# AdvID AdvName AdvRoom Class1 Class2 123 123A James 555 102-8 104-9 124 123B Smith 467 209-0 102-8 Student# AdvID AdvName AdvRoom Class# 123 123A James 555 102-8 123 123A James 555 104-9 124 123B Smith 467 209-0 124 123B Smith 467 102-8
  • 8. 2nd Normal Form The Requirements • The requirements to satisfy the 2nd NF: – All requirements for 1st NF must be met. – Redundant data across multiple rows of a table must be moved to a separate table. • The resulting tables must be related to each other by use of foreign key.
  • 9. 2nd Normal Form Example Students table Registration table Student# AdvID AdvName AdvRoom 123 123A James 555 124 123B Smith 467 Student# Class# 123 102-8 123 104-9 124 209-0 124 102-8
  • 10. 3rd Normal Form The Requirements • The requirements to satisfy the 3rd NF: – All requirements for 2nd NF must be met. – Eliminate fields that do not depend on the primary key; • That is, any field that is dependent not only on the primary key but also on another field must be moved to another table.
  • 11. 3rd Normal Form Example Students table: Student table: Advisor table: Student# AdvID AdvName AdvRoom 123 123A James 555 124 123B Smith 467 Student# AdvID 123 123A 124 123B AdvID AdvName AdvRoom 123A James 555 123B Smith 467
  • 12. 3rd Normal Form Example Cont. Students table: Registration table: Advisor table: Student# Class# 123 102-8 123 104-9 124 209-0 124 102-8 AdvID AdvName AdvRoom 123A James 555 123B Smith 467 Student# AdvID 123 123A 124 123B
  • 13. Conclusion • We have seen how Database Normalization can decrease redundancy, increase efficiency and reduce anomalies by implementing three of seven different levels of normalization called Normal Forms. The first three NF’s are usually sufficient for most small to medium size applications.
  • 14. References • Hillyer Mike, MySQL AB. An Introduction to Database Normalization, http://dev.mysql.com/tech-resources/articles/intro-to-normalization.html, accessed October 17, 2006. • Microsoft. Description of the database normalization basics, http://support.microsoft.com/kb/283878 , accessed October 17, 2006. • Wikipedia. Database Normalization. http://en.wikipedia.org/wiki/Database_normalization.html , accessed October 17, 2006.