Functional Dependencies Flashcards
what is a functional dependency
a constraint between two sets of attributes in a relation
X -> Y means
X determines Y
what are the advantages of functional dependencies (6)
avoids data redundancy
maintain quality
define meaning and constraints
identify bad designs
find facts
determine the key
give armstrong’s axioms (3)
reflexivity (ABC -> AB)
augmentation (add something to both sides)
transitivity (A->B, B->C, A->C)
give the inference rules derived from the axioms
union A->B, A->C, A->BC
pseudo transitivity (substitution. A->B, CB->D, AC->D)
decomposition (A->BC means A->B, A->C)
what is F+
F closure
All the functional dependencies that could possibly be implied
what is X+
X closure
we can calculate X+ or A+ etc to determine the key