Purpose of Normalization?
Normalization is a technique for producing a set of suitable relations that support the data requirements of an enterprise.
Characteristics of a suitable set of relations include:
Types of update anomalies include?
Types of update anomalies include:
Two important properties of decomposition?
UNF (Unnormalized Form)
A table that contains one or more repeating groups.
1NF (First Normal Form)
A relation in which the intersection of each row and column contains one and only one value.
2NF (Second Normal Form)
A relation that is in 1NF and every non-primary-key attribute is fully functionally dependent on the primary key.
3NF (Third Normal Form)
A relation that is in 1NF and 2NF and in which no non-primary-key attribute is transitively dependent on the primary key.
Functional Dependencies?
Functional dependency describes relationship between attributes.
For example, if A and B are attributes of relation R, B is functionally dependent on A, if each value of A in R is associated with exactly one value of B in R.
What is Armstrong’s axioms?
a set of inference rules, specifies how new functional dependencies can be inferred from given ones.
Armstrong’s axioms are as follows: (1) Reflexivity If B is a subset of A, then A → B (2) Augmentation If A → B, then A,C → B,C (3) Transitivity If A → B and B → C, then A → C (4) Self-determination A→A (5) Decomposition If A → B,C, then A → B and A → C (6) Union If A → B and A → C, then A → B,C (7) Composition If A → B and C → D then A,C → B,D
What is Boyce-Codd Normal Form (BCNF)?
A relation is in BCNF if and only if every determinant is a candidate key.
Multi-Valued Dependency (MVD)
Represents a dependency between attributes (for example, A, B, and C) in a relation, such that for each value of A there is a set of values for B and a set of values for C. However, the set of values for B and C are independent of each other.
Fourth Normal Form (4NF)
A relation is in 4NF if and only if for every nontrivial multivalued dependency A -» B, A is a candidate key of the relation.
Fifth Normal Form (5NF)
A relation is in 5NF if and only if for every join dependency in a relation R, each projection includes a candidate key of the original relation.