Normalization Theory Flashcards

1
Q

Decomposition is lossless when…

A

R1 ⋂ R2 -> R1 or R1 ⋂ R2 -> R2

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

Decomposition is lossy when…

A

it is not lossless

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

Functional dependencies

A

{set of attributes} -> {set of attributes} where th left side uniquely determines the right side

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

trivial functional dependencies

A

if the right side contains the left side, the dependency is trivial

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

closure (F+)

A

the set of all functional dependencies logically implied by F

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

closure of attribute sets (a+)

A

given a set of attributes a, define the closure of a under F (denoted by a+) as the set of attributes that are functionally determined by a under F

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

superkey

A

a set of attributes that uniquely identifies each tuple in a relation; if a+ contains all attributes of R, a is a superkey

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

candidate key

A

a superkey that cannot be reduced by removing an attribute

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

dependency preservation

A

a decomposition is dependency preserving if (F1 ⋃ F2 ⋃ … ⋃ Fn)+ = F+

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

reflexivity rule

A

if b ⊆ a, then a -> b

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

augmentation rule

A

if a -> b, then ca -> cb

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

transivity rule

A

if a -> b and b -> c, then a -> c

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

union rule

A

if a -> b holds and a -> c holds, a -> bc holds

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

decomposition rule

A

if a -> bc holds, then a -> b holds and a -> c holds

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

pseudotransitivity rule

A

if a -> b holds and bc -> d, then ac -> d holds

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

bcnf

A

normalization form that eliminates redundancy, schema is in bcnf if at least one of the following holds for all functional dependencies:
- a -> b is trival
- a is a superkey for R

17
Q

bcnf decomposition

A

result = (result - R) ∪ (R - right-side attributes) ∪ (all attributes)

18
Q

3nf

A

a relaxation of bcnfnormalization form that eliminates redundancy, schema is in 3nf if at least one of the following holds for all functional dependencies:
- a -> b is trival
- a is a superkey for R
- each attribute can be in a different candidate key