Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Find the best join order according to the dynamic programming algorithm used in System-R. You should give the dynamic programming table entries for evaluate the

Find the best join order according to the dynamic programming algorithm used in System-R. You should give the dynamic programming table entries for evaluate the join orders. The cost of each join is the number of I/O accesses the database system performs to execute the join. Assume that the database system uses the two-pass sort-merge join algorithm to perform the join operation. Each block contains 4 tuples and tuples of all relations have the same size. We are interested only in left-deep join trees. Note that you should use the System-R optimizer formula to compute the size of each join output.


R(A,B,C) S(B,C) T(R)=4000 T(S)=3000 V(R,A)=100 V(R,B)=200 V(S,B) =100 V(R,C)=100 V(S,C) = 300 W(B,D) 

R(A,B,C) S(B,C) T(R)=4000 T(S)=3000 V(R,A)=100 V(R,B)=200 V(S,B) =100 V(R,C) 100 V (S,C) = 300 W(B,D) T(W)=2000 V(W,B) =100 U(A,D) T(U)=1000 V(U,A)=100 V(W,D)=50 V(U,D)=100

Step by Step Solution

3.38 Rating (157 Votes )

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

Accounting Information System

Authors: James A. Hall

7th Edition

978-1439078570, 1439078572

More Books

Students also viewed these Databases questions

Question

This table wasnt fill

Answered: 1 week ago

Question

What does data cleansing mean?

Answered: 1 week ago

Question

What is distributed data processing?

Answered: 1 week ago