94 views
1 1 vote

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. The decomposition is lossy because no single component contains all attributes of $R$.
     
  2. The decomposition is lossless, and the Chase eventually produces a row containing all distinguished values.
     
  3. The decomposition is lossless only if $NC\to S$ is additionally given.
     
  4. Chase cannot be applied because the decomposition contains three relations.

1 Answer

1 1 vote

One way to see this is through the Chase.

For $R_3(S,P,Q)$, initially the distinguished values are available for $S$, $P$, and $Q$.

Using $S\to NC$, the values of $N$ and $C$ can be forced to their distinguished values in the row corresponding to $R_3$.

Using $P\to XY$, the values of $X$ and $Y$ can also be forced to their distinguished values.

Thus the $R_3$ row eventually contains distinguished values for $S,N,C,P,X,Y,Q$.

Therefore, the Chase contains a completely distinguished row.

Hence, the decomposition is lossless.

We can also prove it using successive combining:

$R_1\cap R_3={S}$.

Since

$S\to SNC$,

$R_1$ and $R_3$ combine losslessly.

Their combined schema is $SNCPQ$.

Now its intersection with $R_2$ is $\{P\}$.

Since

$P\to PXY$, the second combination is also lossless.

Therefore, all three relations reconstruct $R$ losslessly.

Answer : B

Answer:
Position:
Show:

Related questions

2 2 votes
1 1 answer
97
97 views
GO Classes asked Sep 16
97 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
97
97 views
GO Classes asked Sep 16
97 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...
3 3 votes
1 1 answer
121
121 views
GO Classes asked Sep 16
121 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
98
98 views
GO Classes asked Sep 16
98 views
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 ...