Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given the above information, answer the following questions. In all cases, please ignore the cost of writing the final result back to secondary storage. Please
Given the above information, answer the following questions. In all cases, please ignore the
cost of writing the final result back to secondary storage. Please make sure to show your
work for full credit.
points Block Nested Loops Join
Choose the outer relation such that the total cost is minimized. How many a total reads
and b total writes are required?
points Grace Hash Join
How many a total reads and b total writes are required? Assume the relation is evenly
distributed in the partitioning phase.
points Suppose we give you a new disk, and that reading a page from this disk will
take mu s and writing a page to disk will take X mu s Given your above analysis, for which
values of X would you choose the block nested loops join? For which values of X would you
choose the hash join? Round X to the nearest hundredth if necessary eg if X use
as your final value for X
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started