R1(a,A1) (join A1) R2 (A1,A2) (join A2) R3(A2,A3)...Rn-1(An-1, An)
(join An-1) Rn(An-1, b).
i.e., where non-adjacent relations have no common joining attributes. Let us
consider the following semi-join strategies:
S1: (Ri semijoin (Ri-1 semijoin (Ri semijoin Ri+1)))
S2: ((Ri semijoin (Ri-1 semijoin Ri)) semijoin Ri+1).
Show that one semi-join strategy is inferior to the other, in other words it
hasl.sj.nec a higher communication cost. The cost of a semijoin can be estimated as :
Cost (Ei (semijoin A) Ej ) = |Projection on A(Ej)| + co.
where Ei and Ej are base relations or derived relations and |Projection on
A(Ej)| is the cardinality of the join column of Ej.