0 0 votes consider the relation R(ABCDE) and functional dependency F={AB->C , C->D , D->E ,E->A} if we convert the given relation in BCNF then given answer =>R(EA) R(ED) R(CD) R(ABC) my answer =>R(EA) R(ED) R(CD) R(BC) if mine is wrong please explain the right one Databases + – A_i_$_h 2.3k views answer comment Share Follow Print See all 6 Comments 6 6 Comments reply Show 3 previous comments Shubhanshu commented Sep 9, 2017 reply Follow flag how? 0 0 replyShare Manu Thakur commented Sep 9, 2017 i edited Sep 9, 2017 reply Follow flag based on what you kept BC together? what is key for this Relation? most important question when DP can preserved, then why to lose it? 0 0 replyShare akash.dinkar12 commented Sep 9, 2017 reply Follow flag Data redundancy will be eliminated after converting into BCNF. DP is not a major concern but yes loss less property should be followed... 0 0 replyShare Please log in or register to add a comment.
0 0 votes Possible CK for this are : BC , AB, EB , BD . now only AB->C is satisfying BCNF property so possible decomposition is (ABC) (CD) (DE) (AE). So given answer is correct. prakashsingh answered Sep 9, 2017 prakashsingh comment Share Follow See all 4 Comments 4 4 Comments reply A_i_$_h commented Sep 9, 2017 reply Follow flag F = { AB -> C , C->D , D->E , E->A } candidate keys = { AB ,CB , DB , EB } AB -> C satisfies C->D doesnt , take C+ = { C , D ,E , A} ABCDE divided as ACDE and CB now take D+ and divide ACDE as ADE and CD now take E+ and divide ADE as EA and ED so the ans R(EA) R(ED) R(CD) R(CB) the queestion was if its converted to bcnf is it dependency preserving or not so i decomposed this way and it should be " not dependency preserving " but the answer given , they have decomposed the other way and then the answer is "dependency preserving " can someone help with where i went wrong 0 0 replyShare A_i_$_h commented Sep 9, 2017 reply Follow flag F = { AB -> C , C->D , D->E , E->A } candidate keys = { AB ,CB , DB , EB } AB -> C satisfies C->D doesnt , take C+ = { C , D ,E , A} ABCDE divided as ACDE and CB now take D+ and divide ACDE as ADE and CD now take E+ and divide ADE as EA and ED so the ans R(EA) R(ED) R(CD) R(CB) the question was if its converted to bcnf is it dependency preserving or not so i decomposed this way and it should be " not dependency preserving " but the answer given , they have decomposed the other way and then the answer is "dependency preserving " 0 0 replyShare Tesla! commented Dec 16, 2017 reply Follow flag If they ask you that decomposition is dependency preserving or not then your answer is wrong. If there exist atleast 1 decomposition which is Dependency preserving then we can say relation is Dependency preserving in your case you took the one which is not, but there exist an decomposition which is DP and lossless. If no decomposition exist which is dependency preserving then it is we can say it's not 0 0 replyShare A_i_$_h commented Dec 16, 2017 reply Follow flag thanks :) 0 0 replyShare Please log in or register to add a comment.