Plan Bouquets: A Fragrant Approach to Robust Query Processing

被引:7
|
作者
Dutt, Anshuman [1 ]
Haritsa, Jayant R. [1 ]
机构
[1] Indian Inst Sci, Database Syst Lab, SERC CSA, Bangalore 560012, Karnataka, India
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2016年 / 41卷 / 02期
关键词
Selectivity estimation; plan bouquets; robust query processing; MODELS;
D O I
10.1145/2901738
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Identifying efficient execution plans for declarative OLAP queries typically entails estimation of several predicate selectivities. In practice, these estimates often differ significantly from the values actually encountered during query execution, leading to poor plan choices and grossly inflated response times. We propose here a conceptually new approach to address this classical problem, wherein the compile-time estimation process is completely eschewed for error-prone selectivities. Instead, from the set of optimal plans in the query's selectivity error space, a limited subset, called the "plan bouquet," is selected such that at least one of the bouquet plans is 2-optimal at each location in the space. Then, at run time, a sequence of cost-budgeted executions from the plan bouquet is carried out, eventually finding a plan that executes to completion within its assigned budget. The duration and switching of these executions is controlled by a graded progression of isosurfaces projected onto the optimal performance profile. We prove that this construction results, for the first time, in guarantees on worst-case performance sub-optimality. Moreover, it ensures repeatable execution strategies across different invocations of a query. We then present a suite of enhancements to the basic plan bouquet algorithm, including randomized variants, that result in significantly stronger performance guarantees. An efficient isosurface identification algorithm is also introduced to curtail the bouquet construction overheads. The plan bouquet approach has been empirically evaluated on both PostgreSQL and a commercial DBMS, over the TPC-H and TPC-DS benchmark environments. Our experimental results indicate that it delivers substantial improvements in the worst-case behavior, without impairing the average-case performance, as compared to the native optimizers of these systems. Moreover, it can be implemented using existing optimizer infrastructure, making it relatively easy to incorporate in current database engines. Overall, the plan bouquet approach provides novel performance guarantees that open up new possibilities for robust query processing.
引用
收藏
页数:37
相关论文
共 50 条
  • [11] Platform-independent Robust Query Processing
    Karthik, Srinivas
    Haritsa, Jayant R.
    Kenkre, Sreyash
    Pandit, Vinayaka
    2016 32ND IEEE INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2016, : 325 - 336
  • [12] Parallel Approach in RDF Query Processing
    Vajgl, Marek
    Parenica, Jan
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON NUMERICAL ANALYSIS AND APPLIED MATHEMATICS 2016 (ICNAAM-2016), 2017, 1863
  • [13] A metadata approach to statistical query processing
    Froeschl, KA
    STATISTICS AND COMPUTING, 1996, 6 (01) : 11 - 29
  • [14] An intelligent approach to semantic query processing
    Haseman, WD
    Lin, TC
    Nazareth, DL
    ASSOCIATION FOR INFORMATION SYSTEMS - PROCEEDINGS OF THE FIFTH AMERICAS CONFERENCE ON INFORMATION SYSTEMS (AMCIS 1999), 1999, : 52 - 54
  • [15] An approach for semantic query processing with UDDI
    Luo, J
    Montrose, B
    Kang, M
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2005: OTM 2005 WORKSHOPS, PROCEEDINGS, 2005, 3762 : 89 - 98
  • [16] Efficient and robust serial query processing approach for large-scale wireless sensor networks
    Boukerche, A.
    Mostefaoui, A.
    Melkemi, M.
    AD HOC NETWORKS, 2016, 47 : 82 - 98
  • [17] Topological operators: a relaxed query processing approach
    Belussi, Alberto
    Catania, Barbara
    Podesta, Paola
    GEOINFORMATICA, 2012, 16 (01) : 67 - 110
  • [18] Query processing in a cellular network - A database approach
    Mitra, S
    DasBit, S
    IEEE VTC 53RD VEHICULAR TECHNOLOGY CONFERENCE, SPRING 2001, VOLS 1-4, PROCEEDINGS, 2001, : 2560 - 2564
  • [19] RapidMatch: A Holistic Approach to Subgraph Query Processing
    Sun, Shixuan
    Sun, Xibo
    Che, Yulin
    Luo, Qiong
    He, Bingsheng
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2020, 14 (02): : 176 - 188
  • [20] A LOCALIZED APPROACH TO DISTRIBUTED QUERY-PROCESSING
    CHEN, ALP
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 416 : 188 - 202