arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.11669cs.DB
收藏

软约束超树宽度

Soft and Constrained Hypertree Width

Matthias Lanzinger, Cem Okulmus, Reinhard Pichler, Alexander Selzer, Georg Gottlob

AI总结:

本文提出软超树宽度(shw)框架,通过候选树分解引入偏好与约束,在保持判定可处理性的同时实现宽度松弛,实验证明其对查询评估有实际影响。

摘要:

超树分解提供了一种在多项式时间内评估联合查询(CQs)的方法,其中该多项式的时间指数由分解的宽度决定。理论上,高效CQ评估的目标因此必须是最小化宽度。然而,在实际设置中,事实证明分解的其他属性也会影响查询评估的性能。因此,通过约束来限制分解的计算,并通过偏好来引导这种计算是有意义的。为此,我们提出了一种基于候选树分解的新框架,该框架使我们能够引入软超树宽度(shw)。这种宽度度量是超树宽度(hw)的松弛;它从不大于hw,并且在某些情况下,shw实际上可能低于hw。最重要的是,shw保留了判定给定CQ是否低于某个固定界限的可处理性,同时提供了更多的算法灵活性。特别是,它提供了一种自然的方式,将偏好和约束纳入分解的计算中。原型实现和初步实验证实,这一新框架确实可以对查询评估产生实际影响。

英文摘要:

Hypertree decompositions provide a way to evaluate Conjunctive Queries (CQs) in polynomial time, where the exponent of this polynomial is determined by the width of the decomposition. In theory, the goal of efficient CQ evaluation therefore has to be a minimisation of the width. However, in practical settings, it turns out that there are also other properties of a decomposition that influence the performance of query evaluation. It is therefore of interest to restrict the computation of decompositions by constraints and to guide this computation by preferences. To this end, we propose a novel framework based on candidate tree decompositions, which allows us to introduce soft hypertree width (shw). This width measure is a relaxation of hypertree width (hw); it is never greater than hw and, in some cases, shw may actually be lower than hw. Most importantly, shw preserves the tractability of deciding if a given CQ is below some fixed bound, while offering more algorithmic flexibility. In particular, it provides a natural way to incorporate preferences and constraints into the computation of decompositions. A prototype implementation and preliminary experiments confirm that this novel framework can indeed have a practical impact on query evaluation.

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

↑