Query rewriting using views in the presence of inclusion dependencies

Qingyuan Bai, Jun-Hyeok Hong, M. McTear, Hui Wang
{"title":"Query rewriting using views in the presence of inclusion dependencies","authors":"Qingyuan Bai, Jun-Hyeok Hong, M. McTear, Hui Wang","doi":"10.1145/956699.956729","DOIUrl":null,"url":null,"abstract":"Query rewriting using views is an essential issue in data integration. A number of algorithms, e.g., the bucket algorithm, the inverse rules algorithm, the SVB algorithm and the MiniCon algorithm, have been proposed to address this issue. These algorithms can be divided into two categories: bucket-based algorithms and inverse rule-based algorithms. Some inverse rule-based algorithms have considered the problem of query rewriting in the presence of inclusion dependencies. However, there has been no bucket-base algorithm so far for the problem. All the previous bucket-based algorithms may miss query rewritings in the presence of inclusion dependencies. In this paper, we extend the MiniCon algorithm to the presence of inclusion dependencies. In the MiniCon algorithm, a view can be used in a non-redundant rewriting of a query only if at least one subgoal in the query is covered by a subgoal in the view. In the presence of inclusion dependencies, when no subgoal in a view directly covers the query subgoal we can apply the chase procedure and rule to the subgoals of the query or view that contains the chase reachable subgoals to get a revised query or view. The condition required by the MiniCon algorithm is then satisfied. We can therefore avoid the problem of missing rewritings with the previous bucket-based algorithms. We prove that our extended algorithm can find the maximally-contained rewriting of a conjunctive query using a set of conjunctive views in the presence of inclusion dependencies. Our extension of the MiniCon algorithm does not involve a significant increase in computational complexity and our new algorithm remains scalable.","PeriodicalId":309011,"journal":{"name":"J. Res. Pract. Inf. Technol.","volume":"67 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2003-11-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"J. Res. Pract. Inf. Technol.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/956699.956729","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

Abstract

Query rewriting using views is an essential issue in data integration. A number of algorithms, e.g., the bucket algorithm, the inverse rules algorithm, the SVB algorithm and the MiniCon algorithm, have been proposed to address this issue. These algorithms can be divided into two categories: bucket-based algorithms and inverse rule-based algorithms. Some inverse rule-based algorithms have considered the problem of query rewriting in the presence of inclusion dependencies. However, there has been no bucket-base algorithm so far for the problem. All the previous bucket-based algorithms may miss query rewritings in the presence of inclusion dependencies. In this paper, we extend the MiniCon algorithm to the presence of inclusion dependencies. In the MiniCon algorithm, a view can be used in a non-redundant rewriting of a query only if at least one subgoal in the query is covered by a subgoal in the view. In the presence of inclusion dependencies, when no subgoal in a view directly covers the query subgoal we can apply the chase procedure and rule to the subgoals of the query or view that contains the chase reachable subgoals to get a revised query or view. The condition required by the MiniCon algorithm is then satisfied. We can therefore avoid the problem of missing rewritings with the previous bucket-based algorithms. We prove that our extended algorithm can find the maximally-contained rewriting of a conjunctive query using a set of conjunctive views in the presence of inclusion dependencies. Our extension of the MiniCon algorithm does not involve a significant increase in computational complexity and our new algorithm remains scalable.
在包含依赖项存在的情况下使用视图进行查询重写
使用视图重写查询是数据集成中的一个重要问题。为了解决这个问题,已经提出了许多算法,如桶算法、逆规则算法、SVB算法和MiniCon算法。这些算法可以分为两类:基于桶的算法和基于逆规则的算法。一些基于逆规则的算法考虑了包含依赖关系下的查询重写问题。然而,到目前为止,还没有基于桶的算法来解决这个问题。在包含依赖关系存在的情况下,所有以前的基于桶的算法都可能错过查询重写。在本文中,我们将MiniCon算法扩展到包含依赖关系的存在。在MiniCon算法中,只有当查询中的至少一个子目标被视图中的子目标覆盖时,视图才能用于查询的非冗余重写。在存在包含依赖关系的情况下,当视图中没有子目标直接覆盖查询子目标时,我们可以将追踪过程和规则应用于包含追踪可达子目标的查询或视图的子目标,以获得修改后的查询或视图。这样就满足了MiniCon算法所要求的条件。因此,我们可以避免以前基于桶的算法遗漏重写的问题。我们证明了我们的扩展算法可以在包含依赖关系存在的情况下,使用一组合取视图找到合取查询的最大包含重写。我们对MiniCon算法的扩展不涉及计算复杂性的显著增加,并且我们的新算法仍然具有可扩展性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信