Question: Comparison of join algorithms. Consider two relations rl and r2 with schemas R1(ABC) and R2(CDE). Suppose we know that ri has 10,000 tuples, r2 has

 Comparison of join algorithms. Consider two relations rl and r2 with

Comparison of join algorithms. Consider two relations rl and r2 with schemas R1(ABC) and R2(CDE). Suppose we know that ri has 10,000 tuples, r2 has 15,000 tuples, 25 tuples of r fit on one block, and 20 tuples of r2 fit on one block. Assume that there are M-400 pages available in the memory. Estimate the number of block transfers and seeks required, using each of the following join strategies for ri x r2 (show your work): () Nested-loop join (i) Block-nested loop join iii) Merge join (iv) Hash Join

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!