Schema Refinement And Functional Dependency Flashcards

1
Q

Problems due to redundancy

A
  1. Repeated Storage
  2. Insertion Anomalies (violation of rule)
  3. Updation Anomalies
  4. Deletion Anomalies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Functional Dependency

A

(FD)X–>Y
if two tuples agree on value of X they must agree on value of Y

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

Properties of Functional dependency

A
  1. Reflexivity
  2. Augmentation
  3. Transitivity
  4. Union
  5. Decomposition
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Reflexivity

A

X superset of Y
AB->A, AB->B, AB->AB
Trivial Functional Dependency

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

Augmentation

A

If X–>Y is a FD then
ZX–>ZY is a FD too

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

Transitivity

A

If X–>Y is FD and Y–>Z is FD
then X–>Z is FD

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

Union

A

If X–>Y is FD and X–>Z is FD
then X–>YZ is FD

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

Decomposition

A

If X–>YZ is FD
then X–>Y and X–>Z is FD

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

Closure Set of Functional Dependencies

A

Set of all functional dependencies that can be derived using given set F.
Denoted by F+

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

Closure Set of Attributes

A

Set of all attributes that can be derived using given set X.
Denoted by X+

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

How to find attribute closure

A

X+ = X if any subset of X is at the LHS of some FD, then add its RHS to X+ and repeat.

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

Closure Set of Functional Dependencies

A

Set of all functional dependencies that can be derived using given set F.
Denoted by F+

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

Additional set of FD

A

a functional dependency X–>Y is said to be possible if and only if X+ contains Y.

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

Equivalent FD

A

F equivalent to G if F+ = G+

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