Algorithm Lower Bound Equivalence Summary
Multi-join Query Evaluation on Big Data Lecture 3
Dan Suciu March, 2015
Dan Suciu Multi-Joins – Lecture 3 March, 2015 1 / 26
Multi-join Query Evaluation on Big Data Lecture 3 Dan Suciu March, - - PowerPoint PPT Presentation
Algorithm Lower Bound Equivalence Summary Multi-join Query Evaluation on Big Data Lecture 3 Dan Suciu March, 2015 Dan Suciu Multi-Joins Lecture 3 March, 2015 1 / 26 Algorithm Lower Bound Equivalence Summary Multi-join Query
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 1 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 2 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 3 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 3 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 3 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 4 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 5 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 6 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 7 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 7 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 8 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 8 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 8 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 9 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 9 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 9 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 9 / 26
Algorithm Lower Bound Equivalence Summary
1 ,...,pk = pe∗ k
Dan Suciu Multi-Joins – Lecture 3 March, 2015 9 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 10 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 11 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 11 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 12 / 26
Algorithm Lower Bound Equivalence Summary
0 = m/p1/τ ∗, same as before. Dan Suciu Multi-Joins – Lecture 3 March, 2015 13 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 14 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 15 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 15 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 15 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 16 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 17 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 18 / 26
Algorithm Lower Bound Equivalence Summary
1 u0
1 Let u be any fractional edge packing. Any algorithm computing Q
2 The optimal load of HyperCube algorithm is Llower. Hence, optimal. aSubset Rj ⊆ [n]r of size mj that is a matching up to renaming of values.
Dan Suciu Multi-Joins – Lecture 3 March, 2015 19 / 26
Algorithm Lower Bound Equivalence Summary
1 u0
1 Let u be any fractional edge packing. Any algorithm computing Q
2 The optimal load of HyperCube algorithm is Llower. Hence, optimal. aSubset Rj ⊆ [n]r of size mj that is a matching up to renaming of values.
Dan Suciu Multi-Joins – Lecture 3 March, 2015 19 / 26
Algorithm Lower Bound Equivalence Summary
1 Dan Suciu Multi-Joins – Lecture 3 March, 2015 20 / 26
Algorithm Lower Bound Equivalence Summary
1 Dan Suciu Multi-Joins – Lecture 3 March, 2015 20 / 26
Algorithm Lower Bound Equivalence Summary
1 Dan Suciu Multi-Joins – Lecture 3 March, 2015 20 / 26
Algorithm Lower Bound Equivalence Summary
1L(u) ≤ max(m1, m2, m3)/p1/(u1+u2+u3) → 0 when u1 + u2 + u3 → 0. Dan Suciu Multi-Joins – Lecture 3 March, 2015 20 / 26
Algorithm Lower Bound Equivalence Summary
1L(u) ≤ max(m1, m2, m3)/p1/(u1+u2+u3) → 0 when u1 + u2 + u3 → 0. Dan Suciu Multi-Joins – Lecture 3 March, 2015 20 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 21 / 26
Algorithm Lower Bound Equivalence Summary
1 ⋯m uℓ ℓ
1 u0
0 . Dan Suciu Multi-Joins – Lecture 3 March, 2015 22 / 26
Algorithm Lower Bound Equivalence Summary
1 ⋯m uℓ ℓ
1 u0
0 .
0, then L(u′) − L(u) = a/p1/u′
0 − b/p1/u0 strictly increasing in p.)
Dan Suciu Multi-Joins – Lecture 3 March, 2015 22 / 26
Algorithm Lower Bound Equivalence Summary
1 ⋯m uℓ ℓ
1 u0
0 .
0, then L(u′) − L(u) = a/p1/u′
0 − b/p1/u0 strictly increasing in p.)
j ) > limuj →∞ L(uj) = mj, it is strictly decreasing on (0, ∞).)
Dan Suciu Multi-Joins – Lecture 3 March, 2015 22 / 26
Algorithm Lower Bound Equivalence Summary
1 ⋯m uℓ ℓ
1 u0
0 .
0, then L(u′) − L(u) = a/p1/u′
0 − b/p1/u0 strictly increasing in p.)
j ) > limuj →∞ L(uj) = mj, it is strictly decreasing on (0, ∞).)
Dan Suciu Multi-Joins – Lecture 3 March, 2015 22 / 26
Algorithm Lower Bound Equivalence Summary
1 ,...,pk = pe∗ k
Dan Suciu Multi-Joins – Lecture 3 March, 2015 23 / 26
Algorithm Lower Bound Equivalence Summary
1 u0
Dan Suciu Multi-Joins – Lecture 3 March, 2015 24 / 26
Algorithm Lower Bound Equivalence Summary
Dan Suciu Multi-Joins – Lecture 3 March, 2015 25 / 26
Algorithm Lower Bound Equivalence Summary
▸ The primal LP describes the HyperCube parallel algorithm;
▸ The dual LP describes the Lower Bound for Parallel Evaluation;
▸ Vertex packing / Edge cover ρ∗ versus Vertex cover / Edge packing τ ∗. ▸ General (skewed) databases versus skew-free databases. ▸ Both formulas generalize simple observations for cartesian products.
Dan Suciu Multi-Joins – Lecture 3 March, 2015 26 / 26
Algorithm Lower Bound Equivalence Summary
▸ The primal LP describes the HyperCube parallel algorithm;
▸ The dual LP describes the Lower Bound for Parallel Evaluation;
▸ Vertex packing / Edge cover ρ∗ versus Vertex cover / Edge packing τ ∗. ▸ General (skewed) databases versus skew-free databases. ▸ Both formulas generalize simple observations for cartesian products.
Dan Suciu Multi-Joins – Lecture 3 March, 2015 26 / 26
Algorithm Lower Bound Equivalence Summary
▸ The primal LP describes the HyperCube parallel algorithm;
▸ The dual LP describes the Lower Bound for Parallel Evaluation;
▸ Vertex packing / Edge cover ρ∗ versus Vertex cover / Edge packing τ ∗. ▸ General (skewed) databases versus skew-free databases. ▸ Both formulas generalize simple observations for cartesian products.
Dan Suciu Multi-Joins – Lecture 3 March, 2015 26 / 26
Algorithm Lower Bound Equivalence Summary
▸ The primal LP describes the HyperCube parallel algorithm;
▸ The dual LP describes the Lower Bound for Parallel Evaluation;
▸ Vertex packing / Edge cover ρ∗ versus Vertex cover / Edge packing τ ∗. ▸ General (skewed) databases versus skew-free databases. ▸ Both formulas generalize simple observations for cartesian products.
Dan Suciu Multi-Joins – Lecture 3 March, 2015 26 / 26