388 views
0 votes
0 votes
Consider a schema R (A, B, C, D, E, F) and functional dependencies are
A → B, C → D, B → E
Which is divided into R, (A, B, E), R2 (C, D, E) then decomposition?
(1) Dependency preserving and loss Join
(2) Loss less join but not dependency preserving
(3) Dependency preserving but not loss join
(4) Not dependency preserving and not loss Join

1 Answer

Best answer
2 votes
2 votes

F={A->B,C->D,B->E}

Lossless Join:

R1(ABE) AND R2(CDE)

(R1 $\bigcap$ R2)^+=R1 OR R2 Then it is lossless join dependecy.

R1 $\cap$ R2=$E^{+}$ which is not R1 or R2.

Hence it is lossy join dependency.

Dependency preserving:

R1(ABE) ---A->BE,B->E,AB->E

R2(CDE)---C->D.

R={A->BE,B->E,AB->E,C->D}

F=R .

Hence it is dependecy preserving.

Hence it is lossy join and dependecy preserving.Option '3' is correct.

selected by
Answer:

Related questions

0 votes
0 votes
1 answer
1
2 votes
2 votes
1 answer
2
Rakesh K asked Dec 9, 2016
1,318 views
3 votes
3 votes
1 answer
3
Manu Thakur asked Oct 24, 2017
1,175 views
Which one is the more suitable answer for the following question, equijoin or natural join?
0 votes
0 votes
1 answer
4
ShaswatiP asked Jan 24, 2017
563 views