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 条
  • [1] SPARQL Multi-Query Optimization
    Chen, Jiaqi
    Zhang, Fan
    Zou, Lei
    [J]. 2018 17TH IEEE INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS (IEEE TRUSTCOM) / 12TH IEEE INTERNATIONAL CONFERENCE ON BIG DATA SCIENCE AND ENGINEERING (IEEE BIGDATASE), 2018, : 1419 - 1425
  • [2] Scalable Multi-Query Optimization for SPARQL
    Le, Wangchao
    Kementsietsidis, Anastasios
    Duan, Songyun
    Li, Feifei
    [J]. 2012 IEEE 28TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2012, : 666 - 677
  • [3] Multi-Query Optimization on RSS Feeds
    Getahun, Fekade
    Chbeir, Richard
    [J]. JOURNAL ON DATA SEMANTICS, 2018, 7 (01) : 47 - 64
  • [4] Multi-Query Optimization in MapReduce Framework
    Wang, Guoping
    Chan, Chee-Yong
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2013, 7 (03): : 145 - 156
  • [5] Multi-query optimization for sensor networks
    Trigoni, N
    Yao, Y
    Demers, A
    Gehrke, J
    Rajaraman, R
    [J]. DISTRIBUTED COMPUTING IN SENSOR SYSTEMS, PROCEEDINGS, 2005, 3560 : 307 - 321
  • [6] Multi-query Optimization for Distributed Similarity Query Processing
    Zhuang, Yi
    Li, Qing
    Chen, Lei
    [J]. 28TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, VOLS 1 AND 2, PROCEEDINGS, 2008, : 639 - +
  • [7] Efficient and Provable Multi-Query Optimization
    Kathuria, Tarun
    Sudarshan, S.
    [J]. PODS'17: PROCEEDINGS OF THE 36TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2017, : 53 - 67
  • [8] Predicate indexing for Incremental Multi-Query Optimization
    Jin, Chun
    Carbonell, Jaime
    [J]. FOUNDATIONS OF INTELLIGENT SYSTEMS, PROCEEDINGS, 2008, 4994 : 339 - 350
  • [9] Directions in multi-query optimization for sensor networks
    Demers, A
    Gehrke, J
    Rajaraman, R
    Trigoni, N
    Yao, Y
    [J]. ADVANCES IN PERVASIVE COMPUTING AND NETWORKING, 2005, : 179 - 196
  • [10] Multi-Query Optimization for Subgraph Isomorphism Search
    Ren, Xuguang
    Wang, Junhu
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2016, 10 (03): : 121 - 132