首页> 外文会议>International Conference on Extending Database Technology >On Containment of Conjunctive Queries with Arithmetic Comparisons
【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_2是否包含在Q_1中,其中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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号