Functional Dependencies Flashcards

1
Q

what is a functional dependency

A

a constraint between two sets of attributes in a relation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

X -> Y means

A

X determines Y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are the advantages of functional dependencies (6)

A

avoids data redundancy

maintain quality

define meaning and constraints

identify bad designs

find facts

determine the key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

give armstrong’s axioms (3)

A

reflexivity (ABC -> AB)

augmentation (add something to both sides)

transitivity (A->B, B->C, A->C)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

give the inference rules derived from the axioms

A

union A->B, A->C, A->BC

pseudo transitivity (substitution. A->B, CB->D, AC->D)

decomposition (A->BC means A->B, A->C)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is F+

A

F closure

All the functional dependencies that could possibly be implied

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is X+

A

X closure

we can calculate X+ or A+ etc to determine the key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly