Pipelining in multi-query optimization

被引:16
|
作者
Dalvi, NN
Sanghai, SK
Roy, P
Sudarshan, S [1 ]
机构
[1] Indian Inst Technol, Bombay 400076, Maharashtra, India
[2] Univ Washington, Seattle, WA 98195 USA
关键词
D O I
10.1016/S0022-0000(03)00031-X
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Database systems frequently have to execute a set of related queries, which share several common subexpressions. Multi-query optimization exploits this, by finding evaluation plans that share common results. Current approaches to multi-query optimization assume that common subexpressions are materialized. Significant performance benefits can be had if common subexpressions are pipelined to their uses, without being materialized. However, plans with pipelining may not always be realizable with limited buffer space, as we show. We present a general model for schedules with pipelining, and present a necessary and sufficient condition for determining validity of a schedule under our model. We show that finding a valid schedule with minimum cost is NP-hard. We present a greedy heuristic for finding good schedules. Finally, we present a performance study that shows the benefit of our algorithms on batches of queries from the TPCD benchmark. (C) 2003 Elsevier Science (USA). All rights reserved.
引用
收藏
页码:728 / 762
页数:35
相关论文
共 50 条
  • [21] Multi-Query Optimization for Complex Event Processing in SAP ESP
    Zhang, Shuhao
    Hoang Tam Vo
    Dahlmeier, Daniel
    He, Bingsheng
    [J]. 2017 IEEE 33RD INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2017), 2017, : 1213 - 1224
  • [22] A multi-query optimizer for Monet
    Manegold, S
    Pellenkoft, A
    Kersten, M
    [J]. ADVANCES IN DATABASES, 2000, 1832 : 36 - 50
  • [23] Evaluating Multi-Query Sessions
    Kanoulas, Evangelos
    Carterette, Ben
    Clough, Paul D.
    Sanderson, Mark
    [J]. PROCEEDINGS OF THE 34TH INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL (SIGIR'11), 2011, : 1053 - 1062
  • [24] Multi-query Video Retrieval
    Wang, Zeyu
    Wu, Yu
    Narasimhan, Karthik
    Russakovsky, Olga
    [J]. COMPUTER VISION - ECCV 2022, PT XIV, 2022, 13674 : 233 - 249
  • [25] Query grouping-based multi-query optimization framework for interactive SQL query engines on Hadoop
    Chen, Ling
    Lin, Yan
    Wang, Jingchang
    Huang, Heqing
    Chen, Donghui
    Wu, Yong
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2018, 30 (19):
  • [26] Continuous multi-query optimization for subgraph matching over dynamic graphs
    Wang, Xi
    Zhang, Qianzhen
    Guo, Deke
    Zhao, Xiang
    [J]. SEMANTIC WEB, 2022, 13 (04) : 601 - 622
  • [27] SDCS : Secure Data Centric Sensor Networks with Multi-query Optimization
    Tanuja, R.
    Sukeerthi, B. J.
    Raju, Apoorva
    Manjula, S. H.
    Venugopal, K. R.
    Patnaik, L. M.
    [J]. 2013 ANNUAL IEEE INDIA CONFERENCE (INDICON), 2013,
  • [28] On Multi-Query Local Community Detection
    Bian, Yuchen
    Yan, Yaowei
    Cheng, Wei
    Wang, Wei
    Luo, Dongsheng
    Zhang, Xiang
    [J]. 2018 IEEE INTERNATIONAL CONFERENCE ON DATA MINING (ICDM), 2018, : 9 - 18
  • [29] Demand-based Sensor Data Gathering with Multi-Query Optimization
    Hulsmann, Julius
    Traub, Jonas
    Markl, Volker
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2020, 13 (12): : 2801 - 2804
  • [30] Multi-Query Optimization of Incrementally Evaluated Sliding-Window Aggregations
    Shein, Anatoli U.
    Chrysanthis, Panos K.
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2022, 34 (08) : 3899 - 3911