【24h】

On Containment of Conjunctive Queries with Arithmetic Comparisons

机译:用算术比较法对合取查询的包含

获取原文
获取原文并翻译 | 示例

摘要

We study the following problem: how to test if Q_2 is contained in Q_1, where Q_1 and Q_2 are conjunctive queries with arithmetic comparisons? This problem is fundamental in a large variety of database applications. Existing algorithms first normalize the queries, then test a logical implication using multiple containment mappings from Q_1 to Q_2. We are interested in cases where the containment can be tested more efficiently. This work aims to (a) reduce the problem complexity from Π_2~P-completeness to NP-completeness in these cases; (b) utilize the advantages of the homomorphism property (i.e., the containment test is based on a single containment mapping) in applications such as those of answering queries using views; and (c) observing that many real queries have the homomorphism property. The following are our results. (1) We show several cases where the normalization step is not needed, thus reducing the size of the queries and the number of containment mappings. (2) We develop an algorithm for checking various syntactic conditions on queries, under which the homomorphism property holds. (3) We further reduce the conditions of these classes using practical domain knowledge that is easily obtainable. (4) We conducted experiments on real queries, and show that most of the queries pass this test.
机译:我们研究以下问题:如何测试Q_1中是否包含Q_2,其中Q_1和Q_2是具有算术比较的联合查询?这个问题在各种各样的数据库应用程序中是根本的。现有算法首先对查询进行规范化,然后使用从Q_1到Q_2的多个包含映射来测试逻辑含义。我们对可以更有效地测试安全壳的情况感兴趣。这项工作的目的是(a)在这种情况下,将问题复杂度从Π_2〜P完全性降低到NP完全性; (b)在诸如使用视图回答查询的应用程序中利用同构属性的优势(即,包含测试基于单个包含映射); (c)观察到许多真实查询具有同态性。以下是我们的结果。 (1)我们展示了几种不需要标准化步骤的情况,从而减少了查询的大小和包含映射的数量。 (2)我们开发了一种用于检查查询中各种语法条件的算法,在该算法下,同态性成立。 (3)我们使用易于获得的实用领域知识进一步降低这些类的条件。 (4)我们对真实查询进行了实验,结果表明大多数查询都通过了此测试。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号