Multi-Query Optimization Revisited: A Full-Query Algebraic Method.

Yicheng Tu, Mehrad Eslami, Zichen Xu, Hadi Charkhgard
{"title":"Multi-Query Optimization Revisited: A Full-Query Algebraic Method.","authors":"Yicheng Tu,&nbsp;Mehrad Eslami,&nbsp;Zichen Xu,&nbsp;Hadi Charkhgard","doi":"10.1109/bigdata55660.2022.10020338","DOIUrl":null,"url":null,"abstract":"<p><p>Sharing data and computation among concurrent queries has been an active research topic in database systems. While work in this area developed algorithms and systems that are shown to be effective, there is a lack of logical foundation for query processing and optimization. In this paper, we present PsiDB, a system model for processing a large number of database queries in a batch. The key idea is to generate a single query expression that returns a global relation containing all the data needed for individual queries. For that, we propose the use of a type of relational operators called <math><mi>ψ</mi></math>-operators in combining the individual queries into the global expression. We tackle the algebraic optimization problem in PsiDB by developing equivalence rules to transform concurrent queries with the purpose of revealing query optimization opportunities. Centering around the <math><mi>ψ</mi></math>-operator, our rules not only cover many optimization techniques adopted in existing batch processing systems, but also revealed new optimization opportunities. Experiments conducted on an early prototype of PsiDB show a performance improvement of up to 36X over a mainstream commercial DBMS.</p>","PeriodicalId":74501,"journal":{"name":"Proceedings : ... IEEE International Conference on Big Data. IEEE International Conference on Big Data","volume":"2022 ","pages":"252-261"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10460125/pdf/nihms-1917822.pdf","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings : ... IEEE International Conference on Big Data. IEEE International Conference on Big Data","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/bigdata55660.2022.10020338","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Sharing data and computation among concurrent queries has been an active research topic in database systems. While work in this area developed algorithms and systems that are shown to be effective, there is a lack of logical foundation for query processing and optimization. In this paper, we present PsiDB, a system model for processing a large number of database queries in a batch. The key idea is to generate a single query expression that returns a global relation containing all the data needed for individual queries. For that, we propose the use of a type of relational operators called ψ-operators in combining the individual queries into the global expression. We tackle the algebraic optimization problem in PsiDB by developing equivalence rules to transform concurrent queries with the purpose of revealing query optimization opportunities. Centering around the ψ-operator, our rules not only cover many optimization techniques adopted in existing batch processing systems, but also revealed new optimization opportunities. Experiments conducted on an early prototype of PsiDB show a performance improvement of up to 36X over a mainstream commercial DBMS.

多查询优化:一种全查询代数方法。
在并发查询之间共享数据和计算一直是数据库系统中一个活跃的研究课题。虽然这一领域的工作开发了有效的算法和系统,但缺乏查询处理和优化的逻辑基础。本文提出了一种用于批量处理大量数据库查询的系统模型PsiDB。关键思想是生成一个查询表达式,该表达式返回一个全局关系,其中包含各个查询所需的所有数据。为此,我们建议使用一种称为ψ-运算符的关系运算符将单个查询组合到全局表达式中。我们通过开发等价规则来转换并发查询,从而揭示查询优化机会,从而解决PsiDB中的代数优化问题。以ψ算子为中心,我们的规则不仅涵盖了现有批处理系统中采用的许多优化技术,而且揭示了新的优化机会。在PsiDB的早期原型上进行的实验表明,与主流商业DBMS相比,PsiDB的性能提高了36倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信