Home / Expert Answers / Computer Science / example-database-ch-04-consider-the-following-query-the-join-graph-and-the-distribution-of-the-pa119

(Solved): Example database (Ch. 04) Consider the following query, the join graph and the distribution of the ...



Example database(Ch. 04) Consider the following query, the join graph and the distribution of the relations and/or fragmentations to the site
Example database (Ch. 04) Consider the following query, the join graph and the distribution of the relations and/or fragmentations to the sites depicted below. We assume all records have same size. , and size(ASG PROJ . The goal is to minimize communication cost. SELECT ENAME FROM EMP, ASG, PROJ WHERE PROJ.PNO = ASG.PNO AND EMP.ENO = ASG.ENO 1) Which join do we need to perform first, either EMP ASG or ASG PROJ? Why? 2) Explain how to perform the first join in terms of which relation needs to be sent to which site. You do not need to consider semijoin. 3) Explain how to perform the second join which is using the result of the first join in terms of which relation(s) need(s) to be sent to which site(s). You do not need to consider semijoin.


We have an Answer from Expert

View Expert Answer

Expert Answer


1.The join that needs to be performed first is ASG PROJ. This is because the join between ASG and PROJ will result in a smaller intermediate relation
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe