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 条
  • [41] Exploiting Shared Sub-Expression and Materialized View Reuse for Multi-Query Optimization
    Gurumurthy, Bala
    Bidarkar, Vasudev Raghavendra
    Broneske, David
    Pionteck, Thilo
    Saake, Gunter
    [J]. INFORMATION SYSTEMS FRONTIERS, 2024,
  • [42] Multi-root, multi-query processing in sensor networks
    Zhang, Zhiguo
    Kshemkalyani, Ajay
    Shatz, Sol M.
    [J]. DISTRIBUTED COMPUTING IN SENSOR SYSTEMS, 2008, 5067 : 432 - 450
  • [43] Hierarchical matching and reasoning for multi-query image retrieval
    Ji, Zhong
    Li, Zhihao
    Zhang, Yan
    Wang, Haoran
    Pang, Yanwei
    Li, Xuelong
    [J]. NEURAL NETWORKS, 2024, 173
  • [44] Scalable Multi-Query Execution using Reinforcement Learning
    Sioulas, Panagiotis
    Ailamaki, Anastasia
    [J]. SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2021, : 1651 - 1663
  • [45] Mobile Image Search Using Multi-Query Images
    Calisir, Fatih
    Bastan, Muhammet
    Gudukbay, Ugur
    Ulusoy, Ozgur
    [J]. 2015 23RD SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS CONFERENCE (SIU), 2015, : 371 - 374
  • [46] Optimizing Multi-Query Evaluation in Federated RDF Systems
    Peng, Peng
    Ge, Qi
    Zou, Lei
    Ozsu, M. Tamer
    Xu, Zhiwei
    Zhao, Dongyan
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2021, 33 (04) : 1692 - 1707
  • [47] Multi-query processing of XML data streams on multicore
    Kim, Soo-Hyung
    Lee, Kyong-Ha
    Lee, Yoon-Joon
    [J]. JOURNAL OF SUPERCOMPUTING, 2017, 73 (06): : 2339 - 2368
  • [48] Optimizing similarity using multi-query relevance feedback
    Conceptual Dimensions, Inc, San Diego, United States
    [J]. J Am Soc Inf Sci, 8 (742-760):
  • [49] Multi-query processing of XML data streams on multicore
    Soo-Hyung Kim
    Kyong-Ha Lee
    Yoon-Joon Lee
    [J]. The Journal of Supercomputing, 2017, 73 : 2339 - 2368
  • [50] Leon: A Distributed RDF Engine for Multi-query Processing
    Guo, Xintong
    Gao, Hong
    Zou, Zhaonian
    [J]. DATABASE SYSTEMS FOR ADVANCED APPLICATIONS (DASFAA 2019), PT I, 2019, 11446 : 742 - 759