Dynamically optimizing queries over large scale data platforms
Dynamically optimizing queries over large scale data platforms
复制标题
动态优化大规模数据平台上的查询
DOI:
10.1145/2588555.2610531
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Jesse Jackson
中科院分区:
文献类型:
--
作者:
Konstantinos Karanasos;Andrey Balmin;M. Kutsch;Fatma Özcan;V. Ercegovac;Chunyang Xia;Jesse Jackson
Enterprises are adapting large-scale data processing platforms, such as Hadoop, to gain actionable insights from their "big data". Query optimization is still an open challenge in this environment due to the volume and heterogeneity of data, comprising both structured and un/semi-structured datasets. Moreover, it has become common practice to push business logic close to the data via user-defined functions (UDFs), which are usually opaque to the optimizer, further complicating cost-based optimization. As a result, classical relational query optimization techniques do not fit well in this setting, while at the same time, suboptimal query plans can be disastrous with large datasets. In this paper, we propose new techniques that take into account UDFs and correlations between relations for optimizing queries running on large scale clusters. We introduce "pilot runs", which execute part of the query over a sample of the data to estimate selectivities, and employ a cost-based optimizer that uses these selectivities to choose an initial query plan. Then, we follow a dynamic optimization approach, in which plans evolve as parts of the queries get executed. Our experimental results show that our techniques produce plans that are at least as good as, and up to 2x (4x) better for Jaql (Hive) than, the best hand-written left-deep query plans.
DOI:
10.1145/1807128.1807148
发表时间:
2010-06
期刊:
--
影响因子:
--
作者:
Dominic Battré;Stephan Ewen;Fabian Hueske;O. Kao;V. Markl;Daniel Warneke
通讯作者:
Dominic Battré;Stephan Ewen;Fabian Hueske;O. Kao;V. Markl;Daniel Warneke
DOI:
10.14778/2350229.2350244
发表时间:
2012-07
期刊:
ArXiv
影响因子:
--
作者:
Fabian Hueske;Mathias Peters;Matthias Sax;Astrid Rheinländer;Rico Bergmann;Aljoscha Krettek;K. Tzoumas-K.-Tzouma
通讯作者:
Fabian Hueske;Mathias Peters;Matthias Sax;Astrid Rheinländer;Rico Bergmann;Aljoscha Krettek;K. Tzoumas-K.-Tzouma