2 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 ? Databases lossless-decomposition bcnf-decomposition + – rishu_darkshadow 6.0k views answer comment Share Follow Print See all 18 Comments 18 18 Comments reply Show 15 previous comments rishu_darkshadow commented Sep 21, 2017 reply Follow flag @ srestha bcz A and E are superkey in its own R(ABCDE).∩ R(EA)= AE for R(ABCDE) CK= A and for R(AE) CK= E so AE belongs to which relation ? means it is superkey of which relation ? 0 0 replyShare srestha commented Sep 21, 2017 reply Follow flag u have R(EA) rt? if (AE) is a candidate key, then we can say it is minimal super key too 0 0 replyShare rishu_darkshadow commented Sep 21, 2017 reply Follow flag @ srestha ya but AE is not a candidate key here, only A is candidate keys for relation for R(ABCDE) and E is candidate key for relation R(AE)... i think u also got confused.. :p :) so dnt be confused and thanks your valuable support.. :) Now i concluded one thing, the above relation holds only one property i.e lossless dependency and this dependency is achieved by decomposing it into three tables which are R(ABC) R(BD) R(EA) 1 1 replyShare Please log in or register to add a comment.
0 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. vamp_vaibhav answered Sep 21, 2017 vamp_vaibhav comment Share Follow See all 5 Comments 5 5 Comments reply Show 2 previous comments rishu_darkshadow commented Sep 21, 2017 reply Follow flag A--BC is a candidate key for whole relation i.e. R(ABCDE) but after decomposing it into R1(ABCE) so for this relation we further check or find candidate key which is E as this relation supports only two FD i.e. A->BC, E->A 0 0 replyShare vamp_vaibhav commented Sep 21, 2017 reply Follow flag the idea of re-evaluating the candidate key after the decomposition is quite wrd to me. i have never solved the question in this way neither we have taught like this . ARe you sure about this methodology?? let me do some digging... 0 0 replyShare rishu_darkshadow commented Sep 21, 2017 reply Follow flag follow this: https://gateoverflow.in/33678/determining-the-highest-bnormal-form-the-table-decomposed 0 0 replyShare Please log in or register to add a comment.
0 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. Sai Shravan answered Jan 25, 2019 Sai Shravan comment Share Follow 0 reply Please log in or register to add a comment.