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 条
  • [21] EntropyDB: a probabilistic approach to approximate query processing
    Laurel Orr
    Magdalena Balazinska
    Dan Suciu
    The VLDB Journal, 2020, 29 : 539 - 567
  • [22] EntropyDB: a probabilistic approach to approximate query processing
    Orr, Laurel
    Balazinska, Magdalena
    Suciu, Dan
    VLDB JOURNAL, 2020, 29 (01): : 539 - 567
  • [23] Efficient and Robust Query Processing for Mobile Wireless Sensor Networks
    Huang, Huilong
    Hartman, John H.
    Hurst, Terril N.
    GLOBECOM 2006 - 2006 IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE, 2006,
  • [24] Robust and Efficient Aggregate Query Processing in Wireless Sensor Networks
    Kebin Liu
    Lei Chen
    Yunhao Liu
    Minglu Li
    Mobile Networks and Applications, 2008, 13 : 212 - 227
  • [25] Topological operators: a relaxed query processing approach
    Alberto Belussi
    Barbara Catania
    Paola Podestà
    GeoInformatica, 2012, 16 : 67 - 110
  • [26] An incomplete database approach to global query processing
    Otsuka, S
    Miyazaki, N
    TWELFTH INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING (ICOIN-12), PROCEEDINGS, 1998, : 337 - 342
  • [27] A Concave Path to Low-overhead Robust Query Processing
    Karthik, Srinivas
    Haritsa, Jayant R.
    Kenkre, Sreyash
    Pandit, Vinayaka
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2018, 11 (13): : 2183 - 2195
  • [28] Efficient and robust query processing for mobile wireless sensor networks
    Department of Computer Science, University of Arizona, Tucson, AZ, United States
    不详
    Int. J. Sens. Netw., 2007, 1-2 (99-107):
  • [29] Robust query processing for personalized information access on the semantic web
    Dolog, Peter
    Stuckenschmidt, Heiner
    Wache, Holger
    FLEXIBLE QUERY ANSWERING SYSTEMS, PROCEEDINGS, 2006, 4027 : 343 - 355
  • [30] Robust and efficient aggregate query processing in wireless sensor networks
    Liu, Kebin
    Chen, Lei
    Liu, Yunhao
    Li, Minglu
    MOBILE NETWORKS & APPLICATIONS, 2008, 13 (1-2): : 212 - 227