Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

A concave path to low-overhead robust query processing

Published: 01 September 2018 Publication History

Abstract

To address the classical selectivity estimation problem in database systems, a radically different query processing technique called PlanBouquet was proposed in 2014. In this approach, the estimation process is completely abandoned and replaced with a calibrated selectivity discovery mechanism. The beneficial outcome is that provable guarantees are obtained on worst-case execution performance, thereby facilitating robust query processing. An improved version of PlanBouquet, called SpillBound (SB), which significantly accelerates the selectivity discovery process, and provides platform-independent performance guarantees, was presented two years ago.
Notwithstanding its benefits, a limitation of SpillBound is that its guarantees are predicated on expending enormous preprocessing efforts during query compilation, making it suitable only for canned queries that are invoked repeatedly. In this paper, we address this limitation by leveraging the fact that plan cost functions typically exhibit concave down behavior with regard to predicate selectivities. Specifically, we design FrugalSpillBound, which provably achieves extremely attractive tradeoffs between the performance guarantees and the compilation overheads. For instance, relaxing the performance guarantee by a factor of two typically results in at least two orders of magnitude reduction in the overheads. Further, when empirically evaluated on benchmark OLAP queries, the decrease in overheads is even greater, often more than three orders of magnitude. Therefore, FrugalSpillBound substantively extends robust query processing towards supporting ad-hoc queries.

References

[1]
Is query optimization a solved problem? http://wp.sigmod.org/?p=1075, 2014.
[2]
S. Babu, P. Bizarro, and D. DeWitt. Proactive re-optimization. In Proc. of ACM SIGMOD Conf., 2005.
[3]
P. Bizarro, N. Bruno, and D. DeWitt. Progressive parametric query optimization. IEEE TKDE, 21(4):582--594, 2009.
[4]
A. Dutt and J. Haritsa. Plan bouquets: Query processing without selectivity estimation. In Proc. of ACM SIGMOD Conf., 2014.
[5]
A. Dutt and J. Haritsa. Plan bouquets: A fragrant approach to robust query processing. ACM TODS, 41(2):11:1--11:37, 2016.
[6]
A. Dutt, V. Narasayya, and S. Chaudhuri. Leveraging re-costing for online optimization of parameterized queries with guarantees. In Proc. of ACM SIGMOD Conf., 2017.
[7]
G. Graefe. The cascades framework for query optimization. IEEE Data Eng. Bull., 18(3):19--29, 1995.
[8]
D. Harish, P. Darera, and J. Haritsa. Identifying robust plans through plan diagram reduction. PVLDB, 1(1):1124--1140, 2008.
[9]
A. Hulgeri and S. Sudarshan. Parametric query optimization for linear and piecewise linear cost functions. In Proc. of 28th VLDB Conf., 2002.
[10]
A. Hulgeri and S. Sudarshan. Anipqo: Almost non-intrusive parametric query optimization for nonlinear cost functions. In Proc. of 29th VLDB Conf., 2003.
[11]
S. Karthik, J. Haritsa, S. Kenkre, and V. Pandit. A concave path to low-overhead robust query processing. Tech. Report TR-2018-01, DSL/CDS, IISc, 2018, https://tinyurl.com/y9xg7slq.
[12]
S. Karthik, J. Haritsa, S. Kenkre, and V. Pandit. Platform-independent robust query processing. In Proc. of 32nd IEEE ICDE Conf., 2016.
[13]
F. Kastrati and G. Moerkotte. Optimization of conjunctive predicates for main memory column stores. PVLDB, 9(12):1125--1136, 2016.
[14]
V. Leis, A. Gubichev, A. Mirchev, P. Boncz, A. Kemper, and T. Neumann. How good are query optimizers, really? PVLDB, 9(3):204--215, 2015.
[15]
S. Manegold, P. Boncz, and M. Kersten. What happens during a join: Dissecting cpu and memory optimization effects. In Proc. of 26th VLDB Conf., 2000.
[16]
V. Markl, V. Raman, D. Simmen, G. Lohman, H. Pirahesh, and M. Cilimdzic. Robust query processing through progressive optimization. In Proc. of ACM SIGMOD Conf., 2004.
[17]
PGTune. https://pgtune.leopard.in.ua/.
[18]
PostgreSQL. http://www.postgresql.org/docs/9.4/static/release.html.
[19]
S. Purandare. Dimensionality reduction techniques for bouquet-based approaches. Master's Thesis, Database System Lab, IISc, 2018, https://tinyurl.com/y97957v7.
[20]
P. Selinger, M. Astrahan, D. Chamberlin, R. Lorie, and T. Price. Access path selection in a relational database management system. In Proc. of ACM SIGMOD Conf., 1979.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Proceedings of the VLDB Endowment
Proceedings of the VLDB Endowment  Volume 11, Issue 13
September 2018
218 pages
ISSN:2150-8097
Issue’s Table of Contents

Publisher

VLDB Endowment

Publication History

Published: 01 September 2018
Published in PVLDB Volume 11, Issue 13

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 16 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media