3 3 votes consider a relation R(ABCDE) with FD's={A->BC, CD->E, B->D,E->A}. How many minimum relations require to decompose into BCNF with dependency preservation and lossless join decomposition? Databases + – Prerna Chauhan 1.9k views answer comment Share Follow Print See all 11 Comments 11 11 Comments reply santhoshdevulapally commented Nov 13, 2016 reply Follow flag 4 RELATIONS? 0 0 replyShare papesh commented Nov 13, 2016 reply Follow flag https://gateoverflow.in/63156/normalize-upto-bcnf 0 0 replyShare Prerna Chauhan commented Nov 13, 2016 reply Follow flag I am getting 3 but dependency is lost.can we preserve dependency in this case after decomposing into 3 relations? 0 0 replyShare Arjun commented Nov 13, 2016 reply Follow flag ^What are those? 0 0 replyShare Prerna Chauhan commented Nov 13, 2016 reply Follow flag CDE, BD,ABCE 0 0 replyShare Arjun commented Nov 13, 2016 reply Follow flag ABCE won't be in BCNF. E is the key there. 0 0 replyShare Prerna Chauhan commented Nov 13, 2016 reply Follow flag CDE,BD,ABC, AE? Would it be correct? 0 0 replyShare Arjun commented Nov 13, 2016 reply Follow flag Yes, that is always correct. Only question is if that can be minimized. 0 0 replyShare Prerna Chauhan commented Nov 13, 2016 reply Follow flag i think it can't be minimized further 1 1 replyShare Arjun commented Nov 13, 2016 reply Follow flag Sorry, actually $E\to A, A\to E$.So, both $E$ and $A$ are candidate keys in $ABCE$. So, 3 should be the answer as you told first. 0 0 replyShare Prerna Chauhan commented Nov 13, 2016 reply Follow flag yes! that's where i was confused :p Thanks anyway! 1 1 replyShare Please log in or register to add a comment.
Best answer 3 3 votes B-->D violeting the bcnf so make R1= {B,D} R2={A,B,C,E} but here CD-->E is lost.. R2={A,B,C,E} R3={C,D,E} So I think 3 relations are needed... papesh answered Aug 15, 2016 • selected Nov 13, 2016 by Arjun papesh comment Share Follow See 1 comment 1 1 comment reply santhoshdevulapally commented Nov 14, 2016 reply Follow flag R(ABCE) A->BC,E->A here key is{E} but BCNF DECOMPOSITION IS NOT POSSIBLE . 0 0 replyShare Please log in or register to add a comment.
0 0 votes Dependency preservation can not possible although we can decompose in BCNF & lossless join but when we try to preserve dependency relation will not be BCNF Prateek kumar answered Nov 2, 2016 Prateek kumar comment Share Follow 0 reply Please log in or register to add a comment.