in Databases retagged by
264 views
2 votes
2 votes

Consider a table $R (A,B,C,D,E)$ where the functional dependencies are:

$A \rightarrow B$

$B \rightarrow C$

$D \rightarrow E$

Table is decomposed as $D=\{ R1 (A,B), \ R2 (B,C), \ R3 (D,E) \}$

Then, the decomposition is:

  1.  Dependency preserving and lossless.
  2.  Dependency preserving and lossy.
  3.  Neither dependency preserving nor lossless.
  4.  Not dependency preserving but lossless.
in Databases retagged by
by
264 views

1 Answer

1 vote
1 vote
Best answer
For dependency preserving all the FD's must be preserved

R1 (A,B): A->B ,

R2 (B,C): B->C,

R3 (D,E): D->E

therefore all preserved and is dependency preserving

For Lossless join: Ri U Rj U ..... U Rn = R and for any 2 Ri and Rj , (Ri intersection Rj) ->Ri or Rj

R1 U R2 U R3 = R     and

(R1 intersection R2) = {A,B,C} = R4

(R4 intersection R3) = {}

therefore is lossy.

So option is B. Dependency preserving and lossy
selected by
Answer:

Related questions