Module 5 - Normalization
Module 5 - Normalization
NORMALIZATION
Normalization is the process for evaluating and correcting table
Normalization
structures to minimize data redundancies
/mnlinan
• It must be in 2NF
• No transitive dependencies
/mnlinan
NOTE:
Normalization Stages
• 2NF is better than 1NF; 3NF is better than 2NF.
• For most business database design purposes, 3NF is as high as we
need to go in normalization process.
• Highest level of normalization is not always most desirable
/mnlinan
NORMALIZATION PROCESS
Normalization Process
• Each table represents a single subject
• No data item will be unnecessarily stored in more than one
table • All attributes in a table are dependent on the primary key
/mnlinan
CONVERSION TO FIRST
• Present data in tabular format. Each cell has single value and there
are no repeating groups
• Eliminate repeating groups. Eliminate nulls by making sure that
each repeating group attribute contains an appropriate data
value
/mnlinan
CONVERSION TO FIRST
CONVERSION TO FIRST
NORMAL FORM Normalization Process
/mnlinan
CONVERSION TO FIRST
DEPENDENCY DIAGRAM
Normalization Process
• Depicts all dependencies found within given table structure •
Helpful in getting bird’s-eye view of all relationships among table’s
attributes
• Makes it less likely that will overlook an important dependency
/mnlinan
DEPENDENCY DIAGRAM
Normalization Process
/mnlinan
CONVERSION TO FIRST
NORMAL FORM Normalization Process
/mnlinan
CONVERSION TO SECOND
CONVERSION TO SECOND
DEPENDENCY DIAGRAM
Normalization Process
/mnlinan
CONVERSION TO SECOND
NORMAL FORM Normalization Process
CONVERSION TO THIRD
/mnlinan
CONVERSION TO THIRD
/mnlinan
CONVERSION TO THIRD
/mnlinan
DEPENDENCY DIAGRAM
Normalization Process
/mnlinan
CONVERSION TO THIRD
NORMAL FORM Normalization Process
A table is in third normal form (3NF) when both of the following are
true:
• It is in 2NF
• It contains no transitive dependencies
/mnlinan
/mnlinan