Cost Estimation For the two RA trees below, estimate the join cost assuming the query optimizer chooses
Fantastic news! We've Found the answer you've been seeking!
Question:
Cost Estimation
For the two RA trees below, estimate the join cost assuming the query optimizer chooses a hash join.
For each RA tree, please:
- Give the estimated cost of the join
- State which relation on which you would build the hash table
- For b., describe how you estimated the size of the right input to the join
Assume that the number of buffer pages available to the join is 75; that is BP = 75 (BP is the same as B). Please use the numbers in the relation_info table for your calculations.
NOTE: for simplicity you may assume that in the players table there is one person named 'Jacob' and then calculate the cost for join algorithm. And if you have done other ways, please include reasoning to your choice.
Related Book For
Database management systems
ISBN: 978-0072465631
3rd edition
Authors: Raghu Ramakrishan, Johannes Gehrke, Scott Selikoff
Posted Date: