SlideShare una empresa de Scribd logo
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

50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...Nguyen Thanh Tu Collection
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxjmorse8
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxJenilouCasareno
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptSourabh Kumar
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online PresentationGDSCYCCE
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringDenish Jangid
 
The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...sanghavirahi2
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfDr. M. Kumaresan Hort.
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/siemaillard
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticspragatimahajan3
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxShibin Azad
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxCeline George
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya - UEM Kolkata Quiz Club
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxakshayaramakrishnan21
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff17thcssbs2
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportAvinash Rai
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Celine George
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 

Último (20)

50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 

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.