首页> 外文会议>International Conference on Extending Database Technology(EDBT 2004); 20040314-20040318; Heraklion; GR >Processing Unions of Conjunctive Queries with Negation under Limited Access Patterns
【24h】

Processing Unions of Conjunctive Queries with Negation under Limited Access Patterns

机译:受限访问模式下带否定的联合查询的处理并集

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

摘要

We study the problem of answering queries over sources with limited access patterns. The problem is to decide whether a given query Q is feasible, i.e., equivalent to an executable query Q' that observes the limited access patterns given by the sources. We characterize the complexity of deciding feasibility for the classes CQ~- (conjunctive queries with negation) and UCQ~- (unions of CQ~- queries): Testing feasibility is just as hard as testing containment and therefore Π_2~P-complete. We also provide a uniform treatment for CQ, UCQ, CQ~-, and UCQ~- by devising a single algorithm which is optimal for each of these classes. In addition, we show how one can often avoid the worst-case complexity by certain approximations: At compile-time, even if a query Q is not feasible, we can find efficiently the minimal executable query containing Q. For query answering at runtime, we devise an algorithm which may report complete answers even in the case of infeasible plans and which can indicate to the user the degree of completeness for certain incomplete answers.
机译:我们研究了在访问模式受限的源上回答查询的问题。问题是要确定给定查询Q是否可行,即是否等同于可执行查询Q',该查询遵守源给出的有限访问模式。我们描述了CQ〜-(带否定的联合查询)和UCQ〜-(CQ〜-查询的联合)类的可行性的判定复杂性:测试的可行性与测试包容性一样困难,因此_2_2〜P-complete。通过设计对每种类别均最佳的单个算法,我们还为CQ,UCQ,CQ--和UCQ-提供了统一的处理方法。此外,我们展示了如何通过某些近似来避免最坏情况的复杂性:在编译时,即使查询Q不可行,我们也可以有效地找到包含Q的最小可执行查询。对于运行时的查询回答,我们设计了一种算法,即使在计划不可行的情况下也可以报告完整答案,并且可以向用户指示某些不完整答案的完整性程度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号