Normalization
Normalization
It defines the relationship between attributes in a table, indicating how the value of one
attribute determines the value of another.
Definition: The value of one attribute uniquely determines the value of another
attribute, and this dependency doesn't exist for any proper subset of the
determinant.
Example:
2. Partial Dependency:
Definition: The value of one attribute uniquely determines the value of another, but
this dependency exists for only a part (not the whole) of the determinant.
Example:
3. Transitive Dependency:
Example:
The primary goal of normalization is to structure the database in a way that avoids anomalies
and ensures efficient storage and retrieval of data.
This process involves breaking down large tables into smaller, related tables and
establishing relationships between them.
Objective:
Steps:
Ensure that each column contains only atomic values (no repeating groups).
2. Second Normal Form (2NF):
Objective:
Steps:
Identify and remove partial dependencies by moving columns that are not fully dependent
on the primary key to a new table.
Create relationships between the new table and the original table.
3. Third Normal Form (3NF):
Objective:
Steps:
Identify and remove transitive dependencies by moving columns that depend on non-key
columns to a new table.
Create relationships between the new table and the original table.
Additional Normal Forms:
Objective:
Steps: