arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.18003cs.DB
收藏

包语义下的合取查询包含问题:迈向不可判定性的四小步

Bag Semantics Conjunctive Query Containment. Four Small Steps Towards Undecidability

Jerzy Marcinkowski, Mateusz Orda

AI总结:

针对包语义下合取查询包含问题的可判定性这一数据库理论长期开放问题,本文证明了该问题的若干推广形式(如带线性函数的布尔合取查询不等式判定)具有不可判定性,为该问题的不可判定性研究推进了关键步骤。

摘要:

查询包含问题(QCP)是数据库查询处理与优化中最基础的判定问题之一。合取查询的查询包含问题(QCP-CQ)的复杂度自20世纪70年代起就已被完全厘清。但正如Chaudhuri和Vardi在1993年的经典论文[1]中指出的,这一认知建立在查询答案是元组集合的假设之上,无法推广到考虑多重集(包)语义的场景。在该论文发表30年后的今天,包语义下QCP-CQ的可判定性仍是一个悬而未决的问题,也是数据库理论中最引人关注的开放问题之一。本文提出了包语义QCP-CQ若干推广形式的一系列不可判定性结果。例如,本文证明,对于给定的两个布尔合取查询Q和Q'以及一个线性函数F,不等式F(Q(D)) ≤ Q'(D)是否对每个数据库实例D都成立的问题是不可判定的。

英文摘要:

Query Containment Problem (QCP) is one of the most fundamental decision problems in database query processing and optimization. Complexity of QCP for conjunctive queries (QCP-CQ) has been fully understood since 1970s. But, as Chaudhuri and Vardi noticed in their classical 1993 paper [1], this understanding is based on the assumption that query answers are sets of tuples, and it does not transfer to the situation when multi-set (bag) semantics is considered. Now, 30 years after [1] was written, decidability of QCP-CQ for bag semantics remains an open question, one of the most intriguing open questions in database theory. In this paper we show a series of undecidability results for some generalizations of bag-semantics QCP-CQ. We show, for example, that the problem whether, for given two boolean conjunctive queries Q and Q' , and a linear function F, the inequality F(Q(D)) =< Q'(D) holds for each database instance D, is undecidable

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

↑