A Fast Randomized Algorithm for Multi-Objective Query Optimization

被引:4
作者
Trummer, Immanuel [1 ]
Koch, Christoph [1 ]
机构
[1] Ecole Polytech Fed Lausanne, Lausanne, Switzerland
来源
SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA | 2016年
基金
欧洲研究理事会;
关键词
Query optimization; multi-objective; randomized algorithms;
D O I
10.1145/2882903.2882927
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Query plans are compared according to multiple cost metrics in multi-objective query optimization. The goal is to find the set of Pareto plans realizing optimal cost tradeoffs for a given query. So far, only algorithms with exponential complexity in the number of query tables have been proposed for multi objective query optimization. In this work, we present the first algorithm with polynomial complexity in the query size. Our algorithm is randomized and iterative. It improves query plans via a multi-objective version of hill climbing that applies multiple transformations in each climbing step for maximal efficiency. Based on a locally optimal plan, we approximate the Pareto plan set within the restricted space of plans with similar join orders. We maintain a cache of Pareto-optimal plans for each potentially useful intermediate result to share partial plans that were discovered in different iterations. We show that each iteration of our algorithm performs in expected polynomial time based on an analysis of the expected path length between a random plan and local optima reached by hill climbing. We experimentally show that our algorithm can optimize queries with hundreds of tables and outperforms other randomized algorithms such as the NSGA-II genetic algorithm over a wide range of scenarios.
引用
收藏
页码:1737 / 1752
页数:16
相关论文
共 23 条
[1]   Blink and It's Done: Interactive Queries on Very Large Data [J].
Agarwal, Sameer ;
Panda, Aurojit ;
Mozafari, Barzan ;
Iyer, Anand P. ;
Madden, Samuel ;
Stoica, Ion .
PROCEEDINGS OF THE VLDB ENDOWMENT, 2012, 5 (12) :1902-1905
[2]  
Bennett K., 1991, GENETIC ALGORITHM DA
[3]   Polynomial Heuristics for Query Optimization [J].
Bruno, Nicolas ;
Galindo-Legaria, Cesar ;
Joshi, Milind .
26TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING ICDE 2010, 2010, :589-600
[4]   Evolutionary multi-objective optimization: A historical view of the field [J].
Coello Coello, Carlos A. .
IEEE COMPUTATIONAL INTELLIGENCE MAGAZINE, 2006, 1 (01) :28-36
[5]  
Deb K., 2000, Parallel Problem Solving from Nature PPSN VI. 6th International Conference. Proceedings (Lecture Notes in Computer Science Vol.1917), P849
[6]   A fast and elitist multiobjective genetic algorithm: NSGA-II [J].
Deb, K ;
Pratap, A ;
Agarwal, S ;
Meyarivan, T .
IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, 2002, 6 (02) :182-197
[7]  
Ganguly S., 1992, Query optimization for parallel execution
[8]  
Ioannidis Y. E., 1991, SIGMOD Record, V20, P168, DOI 10.1145/119995.115813
[9]  
IOANNIDIS YE, 1990, SIGMOD REC, V19, P312, DOI 10.1145/93605.98740
[10]  
Kllapi H, 2011, SIGMOD