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

凝聚计数-离散计数等价性的判定

Decidability of Equivalence of Aggregate Count-Distinct Queries

Babak Bagheri Hariri, Val Tannen

摘要:

我们解决了计数不同的聚集查询的等价性问题,证明了该问题是可判定的,并且可以在多项式层次的第三层中判定。我们引入了带比较的合取查询的核心概念作为经典关系查询概念的扩展,证明了查询核心之间同构的存在是带比较的合取查询等价于经典关系设置的充分必要条件.然而,它不是计数不同查询等价的必要条件。我们引入了一个新的概念,这是一个潜在的新的查询等价于初始查询,引入捕获计数不同的操作符的行为的基础上放松这个条件。

英文摘要:

We address the problem of equivalence of count-distinct aggregate queries, prove that the problem is decidable, and can be decided in the third level of Polynomial hierarchy. We introduce the notion of core for conjunctive queries with comparisons as an extension of the classical notion for relational queries, and prove that the existence of isomorphism among cores of queries is a sufficient and necessary condition for equivalence of conjunctive queries with comparisons similar to the classical relational setting. However, it is not a necessary condition for equivalence of count-distinct queries. We introduce a relaxation of this condition based on a new notion, which is a potentially new query equivalent to the initial query, introduced to capture the behavior of count-distinct operator.

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

↑