R(a,b) S(b,c) T(c,d) U(d,a) ================================================================= a V(R,a) = 100 V(U,a) = 100 b V(R,b) = 100 V(S,b) = 100 c V(S,c) = 10 V(T,c) = 20 d V(T,d) = 100 V(U,d) = 150 ================================================================= T(R) = 1000 T(S) = 100 T(T) = 100 T(U) = 1000 |
Questions:
|
|
The relevant parameters are:
|
Give the best query plan (index-scan or table-scan followed by a filter step)
Give the disk-I/O cost for each of the following selections:
|
|
where:
|
The result of ⋈1 is pipelined to ⋈2
Question:
|
(Use a separate sheet of paper to write down your proof -- because I don't know how much space you will need)
where:
R(a,b) S(b,c) T(c,d) U(d,e) ================================================================= b V(R,b) = 200 V(S,b) = 100 c V(S,c) = 200 V(T,c) = 100 d V(T,d) = 200 V(U,d) = 150 ================================================================= B(R) = 1000 B(S) = 1000 B(T) = 1000 B(U) = 1000 |
We wish to use the 1-pass join algorithm for all join operations and use pipeline to pass the results
Question:
|
(Use a separate sheet of paper to write down your derivation -- because I don't know how much space you will need)