L10 - Normalization of Relations - 1NF - 2NF
L10 - Normalization of Relations - 1NF - 2NF
Normalization of Relations
Given a relation schema, we need to decide whether it is a good design or whether we need to
decompose it into smaller relations. Such a decision must be guided by an understanding of what
problems, if any, arise from the current schema. To provide such guidance, several normal forms
have been proposed. If a relation schema is in one of these normal forms, we know that certain
kinds of problems cannot arise.
The normal forms based on FDs are first normal form (1NF), second normal form (2NF), third normal
form (3NF), and Boyce-Codd normal form (BCNF). These forms have increasingly restrictive
requirements: Every relation in BCNF is also in 3NF, every relation in 3NF is also in 2NF, and every
relation in 2NF is in 1NF.
All these normal forms (1NF, 2NF, 3NF, BCNF) are based on a single analytical tool: the functional
dependencies among the attributes of a relation. Later, a fourth normal form (4NF) and a fifth
normal form (5NF) were proposed, based on the concepts of multivalued dependencies and join
dependencies, respectively
Definition: The normal form of a relation refers to the highest normal form condition that it
meets, and hence indicates the degree to which it has been normalized.
Second normal form (2NF) is based on the concept of full functional dependency.