Database Normalization: A Comprehensive Guide to Normal Forms, Study notes of Database Management Systems (DBMS)

A comprehensive overview of database normalization, a technique used to organize data into related tables to minimize data redundancy. It covers various normal forms, including 1nf, 2nf, 3nf, bcnf, 4nf, and 5nf, explaining the rules and requirements for each. The document also discusses the advantages and disadvantages of normalization, such as minimizing redundancy and ensuring data consistency, while also addressing potential performance decreases at higher normal forms. Practical examples and practice questions are included to reinforce understanding and application of normalization principles.

Typology: Study notes

2023/2024

Available from 09/17/2025

farah-hussain-1
farah-hussain-1 🇮🇳

6 documents

1 / 51

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Normalization
What is Normalization?
Normalization is a technique of organizing the
data into multiple related tables to minimize
DATA REDUNDANCY.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33

Partial preview of the text

Download Database Normalization: A Comprehensive Guide to Normal Forms and more Study notes Database Management Systems (DBMS) in PDF only on Docsity!

Normalization

What is Normalization?

  • Normalization is a technique of organizing the data into multiple related tables to minimize DATA REDUNDANCY.
  • What is Data Redundancy and why should we reduce it? • Repetition of data increase size of the database
  • Other issues like:
  • Insertion problem
  • Deletion problem
  • Updation problem

Types of Normal Forms

  • 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) Advantages and Disadvantages
  • Minimize data redundancy • Performance decreases when

Rule-

  • Each column should contain atomic values.
  • Entries like X,Y and W,X violates this rule.

Rule-

  • A column should contain values that are of the same type
  • Do not intermix different types of values in any column

Rule-

  • Order in which data is saved doesn’t matter.
  • Using SQL you can fetch data in any order.

Example 2NF

  • It (relation) should be in 1NF

BCNF (Boyce-Codd Normal Form)

  • Also known as 3.5 NF
  • It must satisfy two conditions:
  • It should be in 3NF
  • For any dependency, AàB, A should be a superkey.

What IF?

NOW OUR TABLES SATISFY BCNF