TY - GEN
T1 - Greedy list intersection
AU - Krauthgamer, Robert
AU - Mehta, Aranyak
AU - Raman, Vijayshankar
AU - Rudra, Atri
PY - 2008
Y1 - 2008
N2 - A common technique for processing conjunctive queries is to first match each predicate separately using an index lookup, and then compute the intersection of the resulting rowid lists, via an AND-tree. The performance of this technique depends crucially on the order of lists in this tree: it is important to compute early the intersections that will produce small results. But this optimization is hard to do when the data or predicates have correlation. We present a new algorithm for ordering the lists in an AND-tree by sampling the intermediate intersection sizes. We prove that our algorithm is near-optimal and validate its effectiveness experimentally on datasets with a variety of distributions.
AB - A common technique for processing conjunctive queries is to first match each predicate separately using an index lookup, and then compute the intersection of the resulting rowid lists, via an AND-tree. The performance of this technique depends crucially on the order of lists in this tree: it is important to compute early the intersections that will produce small results. But this optimization is hard to do when the data or predicates have correlation. We present a new algorithm for ordering the lists in an AND-tree by sampling the intermediate intersection sizes. We prove that our algorithm is near-optimal and validate its effectiveness experimentally on datasets with a variety of distributions.
UR - https://www.scopus.com/pages/publications/52649158132
U2 - 10.1109/ICDE.2008.4497512
DO - 10.1109/ICDE.2008.4497512
M3 - Conference contribution
AN - SCOPUS:52649158132
SN - 9781424418374
T3 - Proceedings - International Conference on Data Engineering
SP - 1033
EP - 1042
BT - Proceedings of the 2008 IEEE 24th International Conference on Data Engineering, ICDE'08
T2 - 2008 IEEE 24th International Conference on Data Engineering, ICDE'08
Y2 - 7 April 2008 through 12 April 2008
ER -