Question: 3. Consider two relations r (200 blocks) and s (30 blocks) a. What is the cost of performing a block nested-loop join, given that we

3. Consider two relations r (200 blocks) and s (30 blocks)

a. What is the cost of performing a block nested-loop join, given that we have 8 memory blocks?

b. Reverse the inner and outer relation from part a) and compute block nested-loop join again. Is the resulting cost higher or lower?

c. What if we had 35 blocks of memory available instead of 8 what would be the cost of block nested-loop 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!