Skip to main content
QUICK REVIEW

[Paper Review] The View Update Problem Revisited

Enrico Franconi, Paolo Guagliardo|arXiv (Cornell University)|Nov 13, 2012
Advanced Database Systems and QueriesComputer Science17 references10 citations
TL;DR

This paper revisits the view update problem in relational databases by introducing a framework based on determinacy under constraints, providing a general criterion to determine when view updates can be uniquely and unambiguously propagated to the underlying database. The key contribution is a decidable, effective method for checking invertibility of view mappings and computing update translations in three distinct settings: conjunctive queries with stratified embedded dependencies, horizontal decompositions with domain constraints, and expressive relational algebra based on DLR with inclusion dependencies.

ABSTRACT

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.

Motivation & Objective

  • To address the long-standing challenge of determining when view updates can be uniquely and unambiguously translated to underlying database relations.
  • To formalize a general framework for the view update problem in relational databases using the notion of determinacy under constraints.
  • To provide effective, decidable criteria for checking invertibility of view mappings and computing update translations in multiple realistic database settings.
  • To resolve open issues in multi-relational databases where views are projections of joins, extending prior work limited to single relations or simple views.

Proposed method

  • Proposes a framework based on determinacy under constraints to characterize when a view mapping is invertible, i.e., when each base relation symbol can be exactly rewritten in terms of view symbols.
  • Introduces a general criterion to check whether a view update can be uniquely propagated to the base relations, relying on the existence of exact rewritings under given constraints.
  • Applies the framework to three distinct scenarios: conjunctive queries with stratified embedded dependencies, selections on interpreted attributes with domain constraints, and DLR-based relational algebra with inclusion dependencies.
  • Uses chase-based techniques and logical rewriting to check determinacy and compute inverse mappings in each setting.
  • Establishes that invertibility is decidable and effective in all three settings, even without view constraints.
  • Employs abstraction via schema mappings and logical embeddings to ensure one-to-one correspondence between views and constraints, enabling consistent update propagation.

Experimental results

Research questions

  • RQ1Under what conditions is a view mapping invertible, such that every update to the view can be uniquely translated to the base relations?
  • RQ2Can we effectively determine whether a given view update can be unambiguously propagated to the underlying database relations?
  • RQ3Is it possible to provide a general, decidable criterion for update translatability in multi-relational databases with complex view definitions and constraints?
  • RQ4How can the view update problem be solved in settings involving conjunctive queries over joins, domain constraints on interpreted attributes, and expressive relational algebra with inclusion dependencies?

Key findings

  • The paper establishes that a view mapping is invertible if and only if each base relation symbol has an exact rewriting in terms of view symbols under the given constraints.
  • In the setting of conjunctive queries with stratified embedded dependencies, the view update problem is decidable and effective, solving a long-standing open issue in multi-relational databases.
  • For horizontal decompositions with domain constraints on interpreted attributes, the framework enables effective checking of determinacy and update propagation, even when selections involve arithmetic comparisons.
  • In the DLR-based relational algebra setting, inclusion dependencies over expressions allow for effective computation of inverse mappings and update translations.
  • The framework supports composition of view mappings: a composed view is invertible if and only if each component view is invertible, provided consistency conditions between schemas are met.
  • The paper demonstrates that functional dependencies do not affect losslessness of horizontal decompositions, but inclusion dependencies can introduce additional constraints that influence determinacy, as shown in a counterexample.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.