Association loyalty

from Wikipedia, the free encyclopedia

Composite fidelity (also called losslessness) means in the decomposition of a relation that the original relationship from the decomposed relation by means of natural composite (engl. Natural join can be restored).

Related to this is the dependency loyalty .

Simple criterion

A decomposition of a relation scheme R into two sub-schemes R1 and R2 is true to the network if the following applies:

  • or

Examples

Given a relation with a key candidate .

Loyal to the association

The relation is divided into two relations and . The following applies and , simplified:

R.
A. B. C.
1 1 2
1 2 3
2 1 2
R1
A. B.
1 1
1 2
2 1
R2
B. C.
1 2
2 3
A. B. C.
1 1 2
1 2 3
2 1 2

Not loyal to the association

R.
A. B. C.
1 1 2
1 2 3
2 1 3
R1
A. B.
1 1
1 2
2 1
R2
B. C.
1 2
2 3
1 3
A. B. C.
1 1 2
1 1 3
1 2 3
2 1 2
2 1 3

The reason for the lack of consistency is that in the second example there is neither a functional dependency between B → A nor between B → C. In the first example, however, B → C.

See also