retagged by
275 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.
retagged by

1 Answer

Best answer
1 votes
1 votes
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

3 votes
3 votes
1 answer
1
3 votes
3 votes
1 answer
2
Bikram asked Aug 26, 2017
679 views
Decompose the following table into BCNF:$R(ABCD)$$A \rightarrow C$$C \rightarrow A$$AB \rightarrow D$The result is:(AC) (ABD)(AC) (CBD)(AB)(BAD)Both (A) & (B)
1 votes
1 votes
2 answers
4
Bikram asked Aug 26, 2017
333 views
The relation R (ABCDE) with FD set $\{AB \rightarrow CDE, \ A \rightarrow C, \ C \rightarrow D\}$ is in which of the following normal forms? 1NF but not in 2NF in both 2...