再谈视图更新问题
The View Update Problem Revisited
摘要:
在本文中,我们重新审视的关系设置中的视图更新问题,并提出了一个框架的基础上的概念的确定性约束。在这样一个框架内,当一个视图映射是可逆的,建立,这正是当每个数据库符号有一个确切的重写在给定的约束条件下的视图符号的情况下,我们提供了一个通用的有效的标准来理解是否由视图更新引入的变化可以传播到底层的数据库关系在一个独特的和明确的方式。之后,我们将展示如何确定性约束下可以检查,重写有效地发现,在三个不同的相关场景中的视图约束的情况下。首先,我们解决了长期存在的开放问题,如何解决视图更新问题,在多关系数据库的意见,是连接的关系的投影,我们这样做,在一个更一般的设置,其中的意见被定义为任意的合取查询和数据库约束分层嵌入式依赖关系。接下来,我们研究基于单个数据库关系的水平分解的设置,其中视图通过对可能解释的属性(例如,算术比较)。最后,我们看看另一个多关系数据库设置,其中视图定义在一个表达的“类型”关系代数的基础上的n元描述逻辑DLR和数据库约束的代数表达式的包含。
英文摘要:
In this paper, we revisit the view update problem in a relational setting and propose a framework based on the notion of determinacy under constraints. Within such a framework, we characterise when a view mapping is invertible, establishing that this is the case precisely when each database symbol has an exact rewriting in terms of the view symbols under the given constraints, and we provide a general effective criterion to understand whether the changes introduced by a view update can be propagated to the underlying database relations in a unique and unambiguous way. Afterwards, we show how determinacy under constraints can be checked, and rewritings effectively found, in three different relevant scenarios in the absence of view constraints. First, we settle the long-standing open issue of how to solve the view update problem in a multi-relational database with views that are projections of joins of relations, and we do so in a more general setting where views are defined by arbitrary conjunctive queries and database constraints are stratified embedded dependencies. Next, we study a setting based on horizontal decompositions of a single database relation, where views are defined by selections on possibly interpreted attributes (e.g., arithmetic comparisons) in the presence of domain constraints over the database schema. Lastly, we look into another multi-relational database setting, where views are defined in an expressive "Type" Relational Algebra based on the n-ary Description Logic DLR and database constraints are inclusions of expressions in that algebra.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。