Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Consider the join operation between relation r and s ( r theta s ) , theta is r . A =

1.Consider the join operation between relation r and s ( r \theta s ),\theta is r.A = s.B with the following information:
Relation r contains 10,000 tuples and has 10 tuples per block.
Relation s contains 5,000 tuples and has 10 tuples per block.
There are 33 buffer blocks available in Memory(M).
No sorted data in relation r and s.
Find Total cost (block transfers)
Using Block Nested Loop Join (1 point)
Using Merge Join (1 point)
Using Hash Join (Recursive partition)(1 point)
Using Hash Join (No recursive partition)(1 point)
If there are the infinity of memory, what is the minimum of total cost (block transfers)? And why? (1 point)

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

Recommended Textbook for

Principles Of Database Systems With Internet And Java Applications

Authors: Greg Riccardi

1st Edition

020161247X, 978-0201612479

More Books

Students also viewed these Databases questions

Question

What steps should be taken to address any undesirable phenomena?

Answered: 1 week ago