首页> 外文会议>International conference on deductive and object-oriented databases;DOOD'97 >maintaining Constrained Transitive Closure by COnjunctive Queries
【24h】

maintaining Constrained Transitive Closure by COnjunctive Queries

机译:通过联合查询保持受限制的传递关闭

获取原文

摘要

Recently there has been considerable effort on the maintenance of database views in general, and of deductive database views in particular. Such work considered the incremental maintenance of deductive views defined by expensive database queries, including the transitive closure query. An interesting approach is to use only first-order queries in this maintenance, after small changes (e.g. one tuple insertions and deletions) to base relations. In this paper we consider such incremental maintenance of views defined by constrained transitive closure queries, for the insertion case. The constraints may refer to node costs such as height, voltage and temperature at spatial locations of interest, and to edge costs such as distances between spatial locations. When the constraints are based on node costs, we divide the maintenance problem into several cases, depending on the nature of the constraints. For some cases, the constrained transitive closure becomes bounded in the sense that the recursion can be removed and thus the maintenance problem becomes trivial. For the other cases we provide complete solutions for maintaining the constrained transitive closure. The size of the auxiliary relations can be kept bounded by the size of the transitive closure of the graphs. We also illustrate how to maintain the constrained transitive closure in the presence of other kinds of constraints. However, whether such views can be maintained in first-order after the deletion of edges is a major open problem, even for the constraint-free transitive closure of directed grpahs.
机译:最近,在维护数据库视图和特别是尤其是Deptuctive数据库视图的努力。这些工作被认为是由昂贵的数据库查询定义的演绎视图的增量维护,包括传递闭合查询。一个有趣的方法是在这种维护中仅在此维护中使用一阶查询(例如,一个元组插入和删除)到基础关系。在本文中,我们考虑了由受限的传递闭合查询定义的视图的增量维护,用于插入案例。约束可以指的节点成本,例如感兴趣的空间位置处的高度,电压和温度,以及诸如空间位置之间的距离的边缘成本。当约束基于节点成本时,我们将维护问题划分为几个情况,具体取决于约束的性质。对于某些情况,约束的传递闭合在可以去除递归的意义上变得界定,因此维护问题变得微不足道。对于其他情况,我们提供了维持受约束的传递闭合的完整解决方案。辅助关系的尺寸可以保持由图形的传递闭合的大小的界限。我们还说明了如何在存在其他种类的约束中保持受限制的传递关闭。然而,在删除边缘之后,是否可以一致地维护这种观点是一个主要的开放问题,即使对于无需的GRPAHs的无约束传递关闭。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号