Question: Part III: Operator Implementation This question is about implementing outer join. Assume we have the tables Pokemon and Captured from the previous part, and we

Part III: Operator Implementation This question is about implementing outer join. Assume we have the tables Pokemon and Captured from the previous part, and we want to compute Captured RIGHT OUTER JOIN Pokemon ON charName

Question 13 (5 points): Consider computing this join using a simple hashjoin algorithm when Captured will fit in memory. That is, it will be the inner input, which is inserted into a hash table. Explain how to adapt the hash-join algorithm to produce the additional rows needed for the outer join.

Question 14 (10 points): Now suppose that Pokemon will fit in memory, but Captured wont (so Pokemon will be the inner, hashed input). Explain how to adapt the hash join to produce the additional rows. Be sure to describe any additional information that the algorithm must maintain. Note: Dont confuse INNER and OUTER join options with the inner and outer inputs to a join algorithm.

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!