DataBaseManagement System
Dr.S.Sivakumar,Principal
C.P.A College, Bodinayakanur
1
Normalization
Normal Forms
Normalization
Boyce-
Codd and
Higher
Functional dependencyof nonkey attributes on the primary key - Atomic values only
Full Functional dependencyof nonkey attributes on the primary key
No transitive dependency between nonkey attributes
All determinants are candidate keys - Single multivalued dependency
Functional Dependencies
Functional Dependency
If t1[X]=t2[X], then t1[Y]=t2[Y] in any relation instance r(R)
Examples of FD constraints
SSN 🡪 ENAME
PNUMBER 🡪 {PNAME, PLOCATION}
{SSN, PNUMBER} 🡪 HOURS
Functional Dependencies and Keys
Inference Rules for FDs
A1. (Reflexive) If Y subset-of X, then X 🡪 Y
A2. (Augmentation) If X 🡪 Y, then XZ 🡪 YZ
(Notation: XZ stands for X U Z)
A3. (Transitive) If X 🡪 Y and Y 🡪 Z, then X 🡪 Z
Additional Useful Inference Rules
Introduction to Normalization
Unnormalized Relations
Unnormalized Relation
First Normal Form
IS 257 – Fall 2008
First Normal Form
1NF Storage Anomalies
Second Normal Form
Why is this not in 2NF?
Second Normal Form
Second Normal Form
1NF Storage Anomalies Removed
2NF Storage Anomalies
Third Normal Form
Why is this not in 3NF?
Third Normal Form
Third Normal Form
2NF Storage Anomalies Removed
Boyce-Codd Normal Form
Fourth Normal Form
Fifth Normal Form
Effectiveness and Efficiency Issues for DBMS