Plan Bouquets: Query Processing without Selectivity Estimation

被引:16
|
作者
Dutt, Anshuman [1 ]
Haritsa, Jayant R. [1 ]
机构
[1] Indian Inst Sci, Database Syst Lab, SERC CSA, Bangalore, Karnataka, India
来源
SIGMOD'14: PROCEEDINGS OF THE 2014 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA | 2014年
关键词
Selectivity Estimation; Plan Bouquets; Robust Query Processing;
D O I
10.1145/2588555.2588566
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Selectivity estimates for optimizing OLAP queries often differ significantly from those actually encountered during query execution, leading to poor plan choices and inflated response times. We propose here a conceptually new approach to address this problem, wherein the compile-time estimation process is completely eschewed for error-prone selectivities. Instead, a small "bouquet" of plans is identified from the set of optimal plans in the query's selectivity error space, such that at least one among this subset is near optimal at each location in the space. Then, at run time, the actual selectivities of the query are incrementally "discovered" through a sequence of partial executions of bouquet plans, eventually identifying the appropriate bouquet plan to execute. The duration and switching of the partial executions is controlled by a graded progression of isocost surfaces projected onto the optimal performance profile. We prove that this construction results in bounded overheads for the selectivity discovery process and consequently, guaranteed worst-case performance. In addition, it provides repeatable execution strategies across different invocations of a query. 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, even with conservative assumptions, 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, the bouquet technique can be largely implemented using existing optimizer infrastructure, making it relatively easy to incorporate in current database engines. Overall, the bouquet approach provides novel guarantees that open up new possibilities for robust query processing.
引用
收藏
页码:1039 / 1050
页数:12
相关论文
共 50 条
  • [21] Selectivity Estimation for Exclusive Query Translation in Deep Web Data Integration
    Jiang, Fangjiao
    Meng, Weiyi
    Meng, Xiaofeng
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, PROCEEDINGS, 2009, 5463 : 595 - +
  • [22] Casper: Query Processing for Location Services without Compromising Privacy
    Chow, Chi-Yin
    Mokbel, Mohamed F.
    Aref, Walid G.
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2009, 34 (04):
  • [23] Optimizing query processing using selectivity-awareness in Wireless Sensor Networks
    Umer, Muhammad
    Kulik, Lars
    Tanin, Egemen
    COMPUTERS ENVIRONMENT AND URBAN SYSTEMS, 2009, 33 (02) : 79 - 89
  • [24] Study on Distributed Complex Event Processing in Internet of Things based on Query Plan
    Yuan, Lingyun
    Xu, Dongdong
    Ge, Guili
    Zhu, Mingli
    2015 IEEE INTERNATIONAL CONFERENCE ON CYBER TECHNOLOGY IN AUTOMATION, CONTROL, AND INTELLIGENT SYSTEMS (CYBER), 2015, : 666 - 670
  • [25] Distributed Query Processing Plan Generation using Iterative Improvement and Simulated Annealing
    Giri, Anil Kumar
    Kumar, Rajesh
    PROCEEDINGS OF THE 2013 3RD IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE (IACC), 2013, : 757 - 762
  • [26] Applying CUDA Technology in DCT-Based Method of Query Selectivity Estimation
    Augustyn, Dariusz Rafal
    Zederowski, Sebastian
    NEW TRENDS IN DATABASES AND INFORMATION SYSTEMS, 2013, 185 : 3 - 12
  • [27] Revisiting Approximate Query Processing and Bootstrap Error Estimation on GPU
    Zhao, Hang
    Zhang, Hanbing
    Jing, Yinan
    Zhang, Kai
    He, Zhenying
    Wang, X. Sean
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2022, PT I, 2022, : 72 - 87
  • [28] Selectivity estimation without the attribute value independence assumption
    Poosala, V
    Ioannidis, YE
    PROCEEDINGS OF THE TWENTY-THIRD INTERNATIONAL CONFERENCE ON VERY LARGE DATABASES, 1997, : 486 - 495
  • [29] Selectivity-based XML Query Processing in Structured Peer-to-Peer Networks
    Comito, Carmela
    Talia, Domenico
    Trunfio, Paolo
    PROCEEDINGS OF THE FOURTEENTH INTERNATIONAL DATABASE ENGINEERING & APPLICATIONS SYMPOSIUM (IDEAS '10), 2010, : 236 - 244
  • [30] NEURON: Query Execution Plan Meets Natural Language Processing For Augmenting DB Education
    Liu, Siyuan
    Bhowmick, Sourav S.
    Zhang, Wanlu
    Wang, Shu
    Huang, Wanyi
    Joty, Shafiq
    SIGMOD '19: PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2019, : 1953 - 1956