Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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 mputing this join using a simple hash- Question 13 (5 points): Consider co oin 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 won't (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. 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 mputing this join using a simple hash- Question 13 (5 points): Consider co oin 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 won't (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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions