Professional Documents
Culture Documents
Database Management System 18: Advanced Normal Forms
Database Management System 18: Advanced Normal Forms
Forms
Chittaranjan Pradhan
5NF(Fifth Normal
Form)
Denormalization
Chittaranjan Pradhan
School of Computer Engineering,
KIIT University
18.1
Advanced Normal
MVD(Multi-Valued Dependency) Forms
Chittaranjan Pradhan
MVD(Multi-Valued
Dependency)
Denormalization
18.2
Advanced Normal
MVD(Multi-Valued Dependency)... Forms
Chittaranjan Pradhan
An MVD that satisfies neither the first nor the second condition
is called a nontrivial MVD
JD(Join Dependency)
• It contains no multiple MVDs
5NF(Fifth Normal
Form)
In other words, a relation is in 4NF iff:
Denormalization
• There are no nontrivial MVDs in the relation, or
• The determinant of any nontrivial MVD in the relation is a
key
Name Hobby
Asis Reading
Employee_Hobby Asis Music Name →→ Hobby
Bikash Riding
Bikash Movies
These relations are present in 4NF because the MVDs are 18.4
Advanced Normal
JD(Join Dependency) Forms
Chittaranjan Pradhan
MVD(Multi-Valued
Dependency)
4NF(Fourth Normal
Form)
JD(Join Dependency) JD(Join Dependency)
18.5
Advanced Normal
5NF(Fifth Normal Form) Forms
Chittaranjan Pradhan
5NF(Fifth Normal Form)
A relation is in 5NF iff the following two conditions are satisfied MVD(Multi-Valued
Dependency)
simultaneously:
4NF(Fourth Normal
• It is in 4NF Form)
JD(Join Dependency)
• Every join dependency is implied by the candidate keys
5NF(Fifth Normal
Form)
In other words, a relation is in 5NF if it is in 4NF and the
Denormalization
decomposition is lossless type
Dealer Parts Customer
D1 P1 C1
Dealer D1 P1 C2
D1 P2 C1
D2 P1 C1
Dealer Parts
MVD(Multi-Valued
D1 P1 Dependency)
Dealer_Parts Dealer →→ Parts
D1 P2 4NF(Fourth Normal
Form)
D2 P1 JD(Join Dependency)
5NF(Fifth Normal
Dealer Customer Form)
D1 C1 Denormalization
Dealer_Customer Dealer →→ Customer
D1 C2
D2 C1
Parts Customer
P1 C1
Parts_Customer Parts →→ Customer
P1 C2
P2 C1
Dealer_Parts o
n Parts_Customer o
n Dealer_Customer = Dealer
MVD(Multi-Valued
Dependency)
JD(Join Dependency)
• Advantages of normalization:
5NF(Fifth Normal
• It removes data redundancy Form)
18.8
Advanced Normal
Denormalization... Forms
Chittaranjan Pradhan
MVD(Multi-Valued
Dependency)
Once a normalized database design has been achieved,
4NF(Fourth Normal
adjustments can be made with the potential consequences Form)
5NF(Fifth Normal
Form)
Possible denormalization steps include the following: Denormalization
18.9