86 views
2 2 votes

Consider $R(A,B,C,D,E,F,G)$ with $F=\{AC\to BD,\ BC\to E,\ BE\to DF,\ AG\to EB\}$ and decomposition $R_1(A,B,C,D),$ $R_2(A,B,C,E,G),$ $R_3(B,E,F),$ $R_4(A,E,G)$.

Which of the following successive-combining sequences correctly proves that the decomposition is lossless?

  1. Combine $R_1$ with $R_2$, then combine the result with $R_3$, then with $R_4$.
     
  2. Combine $R_1$ with $R_3$ first.
     
  3. Combine $R_1$ with $R_4$ first.
     
  4. Combine $R_3$ with $R_4$ first.

1 Answer

1 1 vote

Start with $R_1$ and $R_2$.

Their common attributes are

$R_1\cap R_2=\{A,B,C\}$.

We have $AC\to BD$.

Since $A$ and $C$ are contained in $ABC$,

$ABC\to D$.

$\therefore ABC\to ABCD=R_1$.

So $R_1$ and $R_2$ combine losslessly.

Their combined schema is

$R_{12}(A,B,C,D,E,G)$.

Now consider $R_3(B,E,F)$.

$R_{12}\cap R_3={B,E}$.

We have $BE\to DF$.

Hence, $BE\to F$.

$\therefore BE\to BEF=R_3$.

So the second combination is also lossless.

The new schema contains $A,B,C,D,E,F,G$, which is the entire original schema.

Finally, $R_4(A,E,G)$ is already contained in this combined schema. 

Its intersection with the combined schema is $R_4$ itself, so adding it is trivially lossless.

Therefore, sequence A certifies the complete decomposition as lossless.

Answer : A

Answer:
Position:
Show:

Related questions

3 3 votes
1 1 answer
114
114 views
GO Classes asked Sep 16
114 views
Consider $R(A,B,C,D,E,F,G,H)$ with $F=\{AB\to CD,\ AC\to DE,\ EF\to AG\}$.The decomposition is $R_1(A,C,D,E),$ $R_2(A,B,C),$ $R_3(A,B,F,G,H)$.Which statement correctly de...
2 2 votes
1 1 answer
94
94 views
GO Classes asked Sep 16
94 views
Consider the relation $R(T,I,G,E,R,S)$ with $F=\{G\to ES,\ RT\to I,\ IR\to E\}$.It is decomposed into $R_1(T,E),$ $R_2(I,G),$ $R_3(I,E,R,S)$.What does the Chase Test conc...
1 1 vote
1 1 answer
86
86 views
GO Classes asked Sep 16
86 views
Consider $R(S,N,C,P,X,Y,Q)$ with $F=\{S\to NC,\ P\to XY,\ SP\to Q\}$.The relation is decomposed into $R_1(S,N,C),$ $R_2(P,X,Y), $ $R_3(S,P,Q)$.Which statement is correct?...
1 1 vote
1 1 answer
91
91 views
GO Classes asked Sep 16
91 views
Consider $R(A,B,C,D,E,F)$ with $F=\{A\to C,\ CE\to D,\ CD\to A,\ DF\to A\}$.The decomposition is $R_1(A,B,C,D),$ $R_2(A,D,E),$ $R_3(B,C,E,F)$.Which statement is correct?T...