SlideShare una empresa de Scribd logo
1 de 20
VNS GROUP OF
INSTITUTION
16 November 2016
SEMINAR ON- NORMALIZATION
16 November 2016
1. Introduction.
2. History.
3. Purpose of normalization .
4. Types .
5. Advantages and Disadvantages .
6. Conclusion .
• Normalization is the process of removing redundant data
from our tables to improve storage efficiency, data
integrity, and scalability.
• Normalization generally involves splitting existing tables into
multiple ones, which must be re-joined or linked to generate
original table.
• In the relational model, methods exist for quantifying how
efficient a database is. These classifications are called normal
forms or NF.
• Edgar F. Codd, the inventor of the relational
model, introduced the concept of normalization
in 1970 as first normal form (1NF) .
• Edgar F. Codd define the second normal form
(2nf) and third normal form (3nf) in 1971
• Edgar F. Codd and Raymond F.Boyce defined the
Boyce-Codd Normal Form (BCNF) in 1974.
• 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)
In practice, 1NF, 2NF, and 3NF are enough for database.
• A relation is in 1NF if every attribute is atomic.
1. Each attribute name must be unique.
2. Each attribute value must be single.
3. Each row must be unique.
4. There is no repeating groups.
First Name Last name Knowledge
Sohan Verma C, C++,java
Mohan Sah PHP, java
Aditya Patel C, PHP
First Name Last Name Knowledge
Sohan Verma C
Sohan Verma C++
Sohan Verma Java
Mohan Sah PHP
Mohan Sah Java
Aditya Patel C
Aditya Patel PHP
• A database is in second normal form if it satisfies the following
conditions:
• It is in first normal form
• All non-key attributes are fully functional dependent on the primary
key
teacher_id subject teacher_age
111 Maths 38
111 Physics 38
222 Biology 38
333 Physics 40
333 Chemistry 40
teacher_id teacher_age
111 38
222 38
333 40
teacher_id subject
111 Maths
111 Physics
222 Biology
333 Physics
333 Chemistry
teacher_details table teacher_subject table
• A table design is said to be in 3NF if both the following conditions
hold:
• Table must be in 2NF
• Transitive functional dependency of non-prime attribute on any
super key should be removed.
• All nonkey attributes are fully dependent on the primary key.
emp_i
d
emp_
name
emp_z
ip
emp_s
tate
emp_c
ity
emp_
district
1001 John
28200
5
UP Agra
Dayal
Bagh
1002 Ajeet
22200
8
TN
Chenn
ai
M-City
1006 Lora
28200
7
TN
Chenn
ai
Urrapa
kkam
1101 Lilly
29200
8
UK Pauri
Bhagw
an
1201 Steve
22299
9
MP
Gwalio
r
Ratan
emp_id emp_name emp_zip
1001 John 282005
1002 Ajeet 222008
1006 Lora 282007
1101 Lilly 292008
1201 Steve 222999
emp_zip emp_state emp_city
emp_distri
ct
282005 UP Agra Dayal Bagh
222008 TN Chennai M-City
282007 TN Chennai
Urrapakka
m
292008 UK Pauri Bhagwan
222999 MP Gwalior Ratan
employee_zip table:
employee table:
employee
• It is an advance version of 3NF that’s why it is also referred as 3.5NF.
BCNF is stricter than 3NF. A table complies with BCNF if it is in 3NF
and for every functional dependency X->Y, X should be the super key
of the table.
1. A table is already in 3NF.
2. All determinants must be superkeys.
emp_id emp_nationality emp_dept dept_type
dept_no_of_em
p
1001 Austrian
Production and
planning
D001 200
1001 Austrian stores D001 250
1002 American
design and
technical
support
D134 100
1002 American
Purchasing
department
D134 600
emp_id emp_nationality
1001 Austrian
1002 American
emp_dept dept_type dept_no_of_emp
Production and
planning
D001 200
stores D001 250
design and
technical support
D134 100
Purchasing
department
D134 600
1. A table is already in BCNF.
2. A table contains no multi-valued dependencies.
1. A table is already in 4NF.
2. The attributes of multi-valued dependencies are related.
• Advantages of normalization:-
1. Smaller database: By eliminating duplicate data, you will be able to reduce
the overalll size of the database.
2. Better performance:
a. Narrow tables: Having more fine-tuned tables allows your tables to have less
columns and allows you to fit more records per data page.
b. Fewer indexes per table mean faster maintenance tasks such as index
rebuilds.
c. Only join tables that you need.
Disadvantages of normalization:-
1. More tables to join: By spreading out your data into more tables, you increase the need to join
tables.
2. Tables contain codes instead of real data: Repeated data is stored as codes rather than
meaningful data. Therefore, there is always a need to go to the lookup table for the value.
3. Data model is difficult to query against: The data model is optimized for applications, not for ad
hoc querying.
Kumar lav
Kumar lav

Más contenido relacionado

La actualidad más candente

Normalisation - 2nd normal form
Normalisation - 2nd normal formNormalisation - 2nd normal form
Normalisation - 2nd normal formcollege
 
Database Normalization
Database NormalizationDatabase Normalization
Database NormalizationArun Sharma
 
Normalization
NormalizationNormalization
Normalizationlingesan
 
Lecture 04 normalization
Lecture 04 normalization Lecture 04 normalization
Lecture 04 normalization emailharmeet
 
Entity relationship diagram - Concept on normalization
Entity relationship diagram - Concept on normalizationEntity relationship diagram - Concept on normalization
Entity relationship diagram - Concept on normalizationSatya Pal
 
Normalization in a Database
Normalization in a DatabaseNormalization in a Database
Normalization in a DatabaseBishrul Haq
 
functional dependencies with example
functional dependencies with examplefunctional dependencies with example
functional dependencies with exampleSiddhi Viradiya
 
Relational Theory for Budding Einsteins -- LonestarPHP 2016
Relational Theory for Budding Einsteins -- LonestarPHP 2016Relational Theory for Budding Einsteins -- LonestarPHP 2016
Relational Theory for Budding Einsteins -- LonestarPHP 2016Dave Stokes
 
Database Concept - Normalization (1NF, 2NF, 3NF)
Database Concept - Normalization (1NF, 2NF, 3NF)Database Concept - Normalization (1NF, 2NF, 3NF)
Database Concept - Normalization (1NF, 2NF, 3NF)Oum Saokosal
 
Normalization 1 nf,2nf,3nf,bcnf
Normalization 1 nf,2nf,3nf,bcnf Normalization 1 nf,2nf,3nf,bcnf
Normalization 1 nf,2nf,3nf,bcnf Shriya agrawal
 
Advanced Normalization
Advanced NormalizationAdvanced Normalization
Advanced NormalizationAbdullah Khosa
 

La actualidad más candente (20)

Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
Normalisation - 2nd normal form
Normalisation - 2nd normal formNormalisation - 2nd normal form
Normalisation - 2nd normal form
 
Database Normalization
Database NormalizationDatabase Normalization
Database Normalization
 
Normalization
NormalizationNormalization
Normalization
 
Lecture 04 normalization
Lecture 04 normalization Lecture 04 normalization
Lecture 04 normalization
 
Normalization
NormalizationNormalization
Normalization
 
Normal forms
Normal formsNormal forms
Normal forms
 
Normalization in databases
Normalization in databasesNormalization in databases
Normalization in databases
 
Entity relationship diagram - Concept on normalization
Entity relationship diagram - Concept on normalizationEntity relationship diagram - Concept on normalization
Entity relationship diagram - Concept on normalization
 
Normalisation and anomalies
Normalisation and anomaliesNormalisation and anomalies
Normalisation and anomalies
 
Normalization in a Database
Normalization in a DatabaseNormalization in a Database
Normalization in a Database
 
Normalization
NormalizationNormalization
Normalization
 
functional dependencies with example
functional dependencies with examplefunctional dependencies with example
functional dependencies with example
 
Relational Theory for Budding Einsteins -- LonestarPHP 2016
Relational Theory for Budding Einsteins -- LonestarPHP 2016Relational Theory for Budding Einsteins -- LonestarPHP 2016
Relational Theory for Budding Einsteins -- LonestarPHP 2016
 
Database Concept - Normalization (1NF, 2NF, 3NF)
Database Concept - Normalization (1NF, 2NF, 3NF)Database Concept - Normalization (1NF, 2NF, 3NF)
Database Concept - Normalization (1NF, 2NF, 3NF)
 
Database Normalization by Dr. Kamal Gulati
Database Normalization by Dr. Kamal GulatiDatabase Normalization by Dr. Kamal Gulati
Database Normalization by Dr. Kamal Gulati
 
Normalization 1 nf,2nf,3nf,bcnf
Normalization 1 nf,2nf,3nf,bcnf Normalization 1 nf,2nf,3nf,bcnf
Normalization 1 nf,2nf,3nf,bcnf
 
Advanced Normalization
Advanced NormalizationAdvanced Normalization
Advanced Normalization
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
database Normalization
database Normalizationdatabase Normalization
database Normalization
 

Destacado

Школьная газета "Голос школы"
Школьная газета "Голос школы"Школьная газета "Голос школы"
Школьная газета "Голос школы"Антон
 
2016 SIDLIT presentation_ FINAL
2016 SIDLIT presentation_ FINAL2016 SIDLIT presentation_ FINAL
2016 SIDLIT presentation_ FINALnmodares
 
AIMS Company Profile
AIMS Company ProfileAIMS Company Profile
AIMS Company ProfileKhalil rahman
 
parcial de informatica
parcial de informaticaparcial de informatica
parcial de informaticasaiorx
 
Health Benefits of Nuts
Health Benefits of NutsHealth Benefits of Nuts
Health Benefits of NutsEraseRepair
 
Consecuencias en los niños de la violencia en la televisión
Consecuencias en los niños de la violencia en la televisiónConsecuencias en los niños de la violencia en la televisión
Consecuencias en los niños de la violencia en la televisiónPaola896
 

Destacado (13)

Школьная газета "Голос школы"
Школьная газета "Голос школы"Школьная газета "Голос школы"
Школьная газета "Голос школы"
 
El rol del estado en la economía
El rol del estado en la economíaEl rol del estado en la economía
El rol del estado en la economía
 
Mily
MilyMily
Mily
 
Step2 Group
Step2 GroupStep2 Group
Step2 Group
 
2016 SIDLIT presentation_ FINAL
2016 SIDLIT presentation_ FINAL2016 SIDLIT presentation_ FINAL
2016 SIDLIT presentation_ FINAL
 
AIMS Company Profile
AIMS Company ProfileAIMS Company Profile
AIMS Company Profile
 
Prolapsed disc
Prolapsed discProlapsed disc
Prolapsed disc
 
parcial de informatica
parcial de informaticaparcial de informatica
parcial de informatica
 
#7_AWKSMAG_OBSESION
#7_AWKSMAG_OBSESION#7_AWKSMAG_OBSESION
#7_AWKSMAG_OBSESION
 
Health Benefits of Nuts
Health Benefits of NutsHealth Benefits of Nuts
Health Benefits of Nuts
 
Consecuencias en los niños de la violencia en la televisión
Consecuencias en los niños de la violencia en la televisiónConsecuencias en los niños de la violencia en la televisión
Consecuencias en los niños de la violencia en la televisión
 
ДДТУ
ДДТУДДТУ
ДДТУ
 
simple past and past continuous
simple past and past continuoussimple past and past continuous
simple past and past continuous
 

Similar a Kumar lav

Normalization and three normal forms.pptx
Normalization and three normal forms.pptxNormalization and three normal forms.pptx
Normalization and three normal forms.pptxZoha681526
 
normalization of database management ppt
normalization of database management pptnormalization of database management ppt
normalization of database management pptRabiaKabir
 
Normalization of database tables
Normalization of database tablesNormalization of database tables
Normalization of database tablesDhani Ahmad
 
Chapter 5 - Normalization of Database Tables.pdf
Chapter 5 - Normalization of Database Tables.pdfChapter 5 - Normalization of Database Tables.pdf
Chapter 5 - Normalization of Database Tables.pdfJervinCagaananSapidR
 
Sql server ___________session3-normailzation
Sql server  ___________session3-normailzationSql server  ___________session3-normailzation
Sql server ___________session3-normailzationEhtisham Ali
 
Normalisation
NormalisationNormalisation
Normalisationlistergc
 
Normmmalizzarion.ppt
Normmmalizzarion.pptNormmmalizzarion.ppt
Normmmalizzarion.pptDeependra35
 
Normalization: A Workshop for Everybody Pt. 2
Normalization: A Workshop for Everybody Pt. 2Normalization: A Workshop for Everybody Pt. 2
Normalization: A Workshop for Everybody Pt. 2Command Prompt., Inc
 
Normalization in Database
Normalization in DatabaseNormalization in Database
Normalization in DatabaseA. S. M. Shafi
 
Normalisation
NormalisationNormalisation
Normalisationlistergc
 
Presentation on Normalization.pptx
Presentation on Normalization.pptxPresentation on Normalization.pptx
Presentation on Normalization.pptxkshipra sony
 
Modularized ETL Writing with Apache Spark
Modularized ETL Writing with Apache SparkModularized ETL Writing with Apache Spark
Modularized ETL Writing with Apache SparkDatabricks
 
SQL For Programmers -- Boston Big Data Techcon April 27th
SQL For Programmers -- Boston Big Data Techcon April 27thSQL For Programmers -- Boston Big Data Techcon April 27th
SQL For Programmers -- Boston Big Data Techcon April 27thDave Stokes
 

Similar a Kumar lav (20)

Normalisation revision
Normalisation revisionNormalisation revision
Normalisation revision
 
Normalization and three normal forms.pptx
Normalization and three normal forms.pptxNormalization and three normal forms.pptx
Normalization and three normal forms.pptx
 
normalization of database management ppt
normalization of database management pptnormalization of database management ppt
normalization of database management ppt
 
Normalization of database tables
Normalization of database tablesNormalization of database tables
Normalization of database tables
 
Chapter 5 - Normalization of Database Tables.pdf
Chapter 5 - Normalization of Database Tables.pdfChapter 5 - Normalization of Database Tables.pdf
Chapter 5 - Normalization of Database Tables.pdf
 
Sppt chap007
Sppt chap007Sppt chap007
Sppt chap007
 
Sql server ___________session3-normailzation
Sql server  ___________session3-normailzationSql server  ___________session3-normailzation
Sql server ___________session3-normailzation
 
Normalisation
NormalisationNormalisation
Normalisation
 
2 normalization
2 normalization2 normalization
2 normalization
 
Normmmalizzarion.ppt
Normmmalizzarion.pptNormmmalizzarion.ppt
Normmmalizzarion.ppt
 
Normalization: A Workshop for Everybody Pt. 2
Normalization: A Workshop for Everybody Pt. 2Normalization: A Workshop for Everybody Pt. 2
Normalization: A Workshop for Everybody Pt. 2
 
Normalization in Database
Normalization in DatabaseNormalization in Database
Normalization in Database
 
Normalisation
NormalisationNormalisation
Normalisation
 
Unit 3 dbms
Unit 3 dbmsUnit 3 dbms
Unit 3 dbms
 
Presentation on Normalization.pptx
Presentation on Normalization.pptxPresentation on Normalization.pptx
Presentation on Normalization.pptx
 
Modularized ETL Writing with Apache Spark
Modularized ETL Writing with Apache SparkModularized ETL Writing with Apache Spark
Modularized ETL Writing with Apache Spark
 
Exception & Database
Exception & DatabaseException & Database
Exception & Database
 
Normalization
NormalizationNormalization
Normalization
 
Normalization in database
Normalization in databaseNormalization in database
Normalization in database
 
SQL For Programmers -- Boston Big Data Techcon April 27th
SQL For Programmers -- Boston Big Data Techcon April 27thSQL For Programmers -- Boston Big Data Techcon April 27th
SQL For Programmers -- Boston Big Data Techcon April 27th
 

Último

Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 

Último (20)

Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 

Kumar lav

  • 1. VNS GROUP OF INSTITUTION 16 November 2016 SEMINAR ON- NORMALIZATION
  • 2. 16 November 2016 1. Introduction. 2. History. 3. Purpose of normalization . 4. Types . 5. Advantages and Disadvantages . 6. Conclusion .
  • 3. • Normalization is the process of removing redundant data from our tables to improve storage efficiency, data integrity, and scalability. • Normalization generally involves splitting existing tables into multiple ones, which must be re-joined or linked to generate original table. • In the relational model, methods exist for quantifying how efficient a database is. These classifications are called normal forms or NF.
  • 4. • Edgar F. Codd, the inventor of the relational model, introduced the concept of normalization in 1970 as first normal form (1NF) . • Edgar F. Codd define the second normal form (2nf) and third normal form (3nf) in 1971 • Edgar F. Codd and Raymond F.Boyce defined the Boyce-Codd Normal Form (BCNF) in 1974.
  • 5. • 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) In practice, 1NF, 2NF, and 3NF are enough for database.
  • 6. • A relation is in 1NF if every attribute is atomic. 1. Each attribute name must be unique. 2. Each attribute value must be single. 3. Each row must be unique. 4. There is no repeating groups.
  • 7. First Name Last name Knowledge Sohan Verma C, C++,java Mohan Sah PHP, java Aditya Patel C, PHP First Name Last Name Knowledge Sohan Verma C Sohan Verma C++ Sohan Verma Java Mohan Sah PHP Mohan Sah Java Aditya Patel C Aditya Patel PHP
  • 8. • A database is in second normal form if it satisfies the following conditions: • It is in first normal form • All non-key attributes are fully functional dependent on the primary key
  • 9. teacher_id subject teacher_age 111 Maths 38 111 Physics 38 222 Biology 38 333 Physics 40 333 Chemistry 40 teacher_id teacher_age 111 38 222 38 333 40 teacher_id subject 111 Maths 111 Physics 222 Biology 333 Physics 333 Chemistry teacher_details table teacher_subject table
  • 10. • A table design is said to be in 3NF if both the following conditions hold: • Table must be in 2NF • Transitive functional dependency of non-prime attribute on any super key should be removed. • All nonkey attributes are fully dependent on the primary key.
  • 11. emp_i d emp_ name emp_z ip emp_s tate emp_c ity emp_ district 1001 John 28200 5 UP Agra Dayal Bagh 1002 Ajeet 22200 8 TN Chenn ai M-City 1006 Lora 28200 7 TN Chenn ai Urrapa kkam 1101 Lilly 29200 8 UK Pauri Bhagw an 1201 Steve 22299 9 MP Gwalio r Ratan emp_id emp_name emp_zip 1001 John 282005 1002 Ajeet 222008 1006 Lora 282007 1101 Lilly 292008 1201 Steve 222999 emp_zip emp_state emp_city emp_distri ct 282005 UP Agra Dayal Bagh 222008 TN Chennai M-City 282007 TN Chennai Urrapakka m 292008 UK Pauri Bhagwan 222999 MP Gwalior Ratan employee_zip table: employee table: employee
  • 12. • It is an advance version of 3NF that’s why it is also referred as 3.5NF. BCNF is stricter than 3NF. A table complies with BCNF if it is in 3NF and for every functional dependency X->Y, X should be the super key of the table. 1. A table is already in 3NF. 2. All determinants must be superkeys.
  • 13. emp_id emp_nationality emp_dept dept_type dept_no_of_em p 1001 Austrian Production and planning D001 200 1001 Austrian stores D001 250 1002 American design and technical support D134 100 1002 American Purchasing department D134 600 emp_id emp_nationality 1001 Austrian 1002 American emp_dept dept_type dept_no_of_emp Production and planning D001 200 stores D001 250 design and technical support D134 100 Purchasing department D134 600
  • 14. 1. A table is already in BCNF. 2. A table contains no multi-valued dependencies.
  • 15.
  • 16. 1. A table is already in 4NF. 2. The attributes of multi-valued dependencies are related.
  • 17.
  • 18. • Advantages of normalization:- 1. Smaller database: By eliminating duplicate data, you will be able to reduce the overalll size of the database. 2. Better performance: a. Narrow tables: Having more fine-tuned tables allows your tables to have less columns and allows you to fit more records per data page. b. Fewer indexes per table mean faster maintenance tasks such as index rebuilds. c. Only join tables that you need. Disadvantages of normalization:- 1. More tables to join: By spreading out your data into more tables, you increase the need to join tables. 2. Tables contain codes instead of real data: Repeated data is stored as codes rather than meaningful data. Therefore, there is always a need to go to the lookup table for the value. 3. Data model is difficult to query against: The data model is optimized for applications, not for ad hoc querying.