首页> 外文期刊>Journal of research and practice in information technology >A Bucket-Based Approach to Query Rewriting Using Views in the Presence of Inclusion Dependencies
【24h】

A Bucket-Based Approach to Query Rewriting Using Views in the Presence of Inclusion Dependencies

机译:在包含相关性的情况下,基于视图的基于桶的查询重写方法

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

摘要

A number of algorithms based on the use of either buckets or inverse rules have been proposed to address the problem of query rewriting using views. Some inverse rule-based algorithms have considered this problem in the presence of inclusion dependencies. However, no bucket-based algorithms have considered the influence from inclusion dependencies, resulting in missing some query rewritings under this condition. In a bucket-based algorithm, if a view does not contain any subgoals of a query, then the algorithm cannot form any bucket over the view. In this paper, we utilize inclusion dependencies to overcome this deficiency. We present two novel algorithms in the buckets framework. In the first algorithm, we apply a chase procedure/rule to a query to get a set of equivalent or contained queries relative to inclusion dependencies, and then generate rewritings for each of the revised queries. In the second algorithm, we apply a chase procedure/rule to such a view that does not contain subgoals of a query but still contains subgoals to which the chase procedure/rule can be applied. We prove that both algorithms can find a maximally-contained rewriting relative to inclusion dependencies. Hence, the problem of missing rewritings in the previous bucket-based algorithms is avoided.
机译:为了解决使用视图重写查询的问题,已经提出了许多基于存储桶或逆规则的算法。一些基于反规则的算法在包含依赖项存在的情况下考虑了此问题。但是,没有基于存储桶的算法考虑到包含依赖性的影响,导致在这种情况下会丢失一些查询重写。在基于存储桶的算法中,如果视图不包含查询的任何子目标,则该算法无法在视图上形成任何存储桶。在本文中,我们利用包含关系来克服这一缺陷。我们在buckets框架中介绍了两种新颖的算法。在第一种算法中,我们将追逐程序/规则应用于查询,以获取一组与包含相关性相关的等效查询或包含查询,然后为每个修订后的查询生成重写。在第二种算法中,我们将追逐程序/规则应用于这样的视图,该视图不包含查询的子目标,但仍然包含可应用追逐程序/规则的子目标。我们证明这两种算法都可以找到相对于包含依赖性的最大包含重写。因此,避免了在先前的基于桶的算法中丢失重写的问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号