550 Lecture14
550 Lecture14
Normalization
Normalization
• The process of decomposing unsatisfactory
"bad" relations by breaking up their attributes
into smaller relations
• The process of analyzing the given relation
schemas based on their FDs and primary keys
to achieve the desirable properties:
– Minimizing redundancy
– Minimizing the insertion, deletion, and update
anomalies
Normal Forms
• If a relation is in a certain normal form
(BCNF, 3NF etc.), it is known that certain
kinds of problems are avoided
• Normal Form: the highest normal form
condition that it meets, and hence indicates
the degree to which it has been normalized
1NF
• 1NF: disallows multivalued attributes,
composite attributes and their combinations
• The only attribute values permitted by 1NF
are single atomic values
• Considered to be part of the definition of
relation
Example 1: Normalization into 1NF
Example 2: Normalization into 1NF
Prime or Nonprime Attributes
• Prime attribute: a member of some
candidate key
• Nonprime attribute: not a prime attribute
(not a member of any candidate key)
Full or Partial Functional Dependency