309 views
0 votes
0 votes

Consider three relations R1(X, Y, Z), R2(M, N, P ), and R3(N, X). The
primary keys of the relations are in Bold. The relations have 100, 30, and
400 tuples, respectively. The space requirements for different attributes are:
X = 30 bytes, Y = 10 bytes, Z = 10 bytes, M = 20 bytes, N = 20 bytes,
and P = 10 bytes. Let V (A, R) signify the variety of values that attribute
A may have in the relation R. Let V (N, R2) = 15 and V (N, R3) = 300.
Assume that the distribution of values is uniform.
 If R1, R2, and R3 are to be joined, find the order of join for the minimum cost. The cost of a join is defined as the total space required by
the intermediate relations. Justify your answer.

Please log in or register to answer this question.

Related questions

8 votes
8 votes
1 answer
1
Aakash Das asked Jun 25, 2016
1,893 views
Let us consider 3 relations R1(ABD), R2(BCE) and R3(CF). The primary keys of R1 , R2 and R3 are A, B and C respectively. The number of tuples in R1, R2 and R3 are 50,4...
1 votes
1 votes
3 answers
2
Purple asked Jan 24, 2016
1,727 views
When , then the cost of computing is(A) the same as R S (B) greater the R S(C) less than R S (D) cannot say anything
1 votes
1 votes
1 answer
4
raginibhayana asked Feb 15, 2022
780 views
why don't we use the projection operator in conditional join?