3,489 views
2 votes
2 votes

Relation: R(ABCDE):

FDs: A->BC, CD->E, B->D, E->A

This relation is not in BCNF bcz of FD B->D. So how it make BCNF by decomposition so that the resultant decomposition is both lossless and dependency preserving ? 

plzz explain ?

2 Answers

0 votes
0 votes
As we know if we decompose the relation R(ABCDE) into R1(ABCE) and R2(BD) is enough to make it BCNF and lossless.

For dependency preserving, we can add one more table in such a way that it won't disturb the current normalisation status and also preserve the dependency. i.e. R3(CDE)

therefore.... R1(ABCE) R2(BD) and R3(CDE)

plz any correction would be appreciated.
0 votes
0 votes
The table can be decomposed as follows:

R1:A,C,D,E with functional dependencies A>D,  A>C, CD>E

R2:A,B with functional dependency A>B

R3:B,D with functional dependency B>D

We can see that R1 join (R2 join R3) is lossless ,dependency preserving and BCNF.

Related questions

0 votes
0 votes
1 answer
2
night_fury asked Sep 23, 2018
763 views
The below decomposition is lossless or lossy and also dependency preserving or not?
0 votes
0 votes
1 answer
4