arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.14075cs.DBcs.ITmath.IT
收藏

基于度序列 Lp 范数的连接大小上界

Join Size Bounds using Lp-Norms on Degree Sequences

Mahmoud Abo Khamis, Vasileios Nakos, Dan Olteanu, Dan Suciu

AI总结:

本文提出将连接属性度序列的 Lp 范数纳入信息不等式上界,显著改进无环与循环查询的基数估计,并给出匹配查询评估算法及紧性证明。

摘要:

估计查询的输出大小是数据库查询处理中一个基本但长期存在的问题。数据库系统使用的传统基数估计器常常会将真实输出大小低估几个数量级,从而导致严重的系统性能损失。最近,基于信息不等式并纳入输入关系的大小和最大度的上界被提出,但它们的主要优势仅限于循环查询,因为在无环查询上它们会退化为相当平凡的公式。我们引入了这些上界的一个重要扩展,纳入连接属性度序列的 $\ell_p$-范数。我们的上界显著低于先前已知的上界,即使应用于无环查询也是如此。这些上界同样基于信息论,配有匹配的查询评估算法,可在查询大小的指数时间内计算,并且当所有度都是“简单”时被证明是紧的。

英文摘要:

Estimating the output size of a query is a fundamental yet longstanding problem in database query processing. Traditional cardinality estimators used by database systems can routinely underestimate the true output size by orders of magnitude, which leads to significant system performance penalty. Recently, upper bounds have been proposed that are based on information inequalities and incorporate sizes and max-degrees from input relations, yet they their main benefit is limited to cyclic queries, because they degenerate to rather trivial formulas on acyclic queries. We introduce a significant extension of the upper bounds, by incorporating $\ell_p$-norms of the degree sequences of join attributes. Our bounds are significantly lower than previously known bounds, even when applied to acyclic queries. These bounds are also based on information theory, they come with a matching query evaluation algorithm, are computable in exponential time in the query size, and are provably tight when all degrees are "simple".

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑