SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

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
 

What's hot (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
 

Viewers also liked

Школьная газета "Голос школы"
Школьная газета "Голос школы"Школьная газета "Голос школы"
Школьная газета "Голос школы"Антон
 
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
 

Viewers also liked (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 to 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 to 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
 

Recently uploaded

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Recently uploaded (20)

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 

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.