An Order-Based Theory of Updates for Closed Database Views

The fundamental problem in the design of update strategies for views of database schemata is that of selecting how the view update is to be reflected back to the base schema. This work presents a solution to this problem, based upon the dual philosophies of closed update strategies and order-based database mappings. A closed update strategy is one in which the entire set of updates exhibit natural closure properties, including transitivity and reversibility. The order-based paradigm is a natural one; most database formalisms endow the database states with a natural order structure, under which update by insertion is an increasing operation, and update by deletion is decreasing. Upon augmenting the original constant-complement strategy of Bancilhon and Spyratos – which is an early version of a closed update strategy – with compatible order-based notions, the reflection to the base schema of any update to the view schema which is an insertion, a deletion, or a modification which is realizable as a sequence of insertions and deletions is shown to be unique and independent of the choice of complement. In addition to this uniqueness characterization, the paper also develops a theory which identifies conditions under which a natural, maximal, update strategy exists for a view. This theory is then applied to a ubiquitous example – single-relational schemata constrained by equality-generating dependencies. Within this framework it is shown that for a view defined as a projection of the main relation, the only possibility is that the complement defining the update process is also a projection, and that the reconstruction is based upon functional dependencies.

[1]  Horst Herrlich,et al.  Abstract and concrete categories , 1990 .

[2]  Serge Abiteboul,et al.  Foundations of Databases , 1994 .

[3]  Stephen J. Hegner Unique Complements and Decomposition of Database Schemata , 1994, J. Comput. Syst. Sci..

[4]  Nicolas Spyratos,et al.  Update semantics of relational views , 1981, TODS.

[5]  Georg Gottlob,et al.  Properties and update semantics of consistent views , 1988, TODS.

[6]  Bernhard Thalheim,et al.  Entity-relationship modeling - foundations of database technology , 2010 .

[7]  Bernhard Thalheim The Entity-Relationship Model , 2000 .

[8]  Stephen J. Hegner Characterization of desirable properties of general database decompositions , 2005, Annals of Mathematics and Artificial Intelligence.

[9]  Brian A. Davey,et al.  An Introduction to Lattices and Order , 1989 .

[10]  J. D. Monk,et al.  Mathematical Logic , 1976 .

[11]  George Gratzer,et al.  Universal Algebra , 1979 .

[12]  Richard Hull Finitely Specifiable Implicational Dependency Families , 1984, JACM.

[13]  John Grant,et al.  On the family of generalized dependency constraints , 1982, JACM.

[14]  Ernest Teniente,et al.  A Survey of Current Methods for Integrity Constraint Maintenance and View Updating , 1999, ER.

[15]  Zohra Bellahsene Updates and object-generating views in ODBS , 2000, Data Knowl. Eng..

[16]  Stephen J. Hegner,et al.  Uniqueness of Update Strategies for Database Views , 2002, FoIKS.

[17]  Ke Wang,et al.  Constant-time maintainability: a generalization of independence , 1992, TODS.

[18]  Ronald Fagin,et al.  Horn clauses and database dependencies , 1982, JACM.

[19]  Stephen J. Hegner,et al.  Foundations of Canonical Update Support for Closed Database Views , 1990, ICDT.

[20]  Dominique Laurent,et al.  View Updates Translations in Relational Databases , 1998, DEXA.

[21]  Professor Dr. Bernhard Thalheim Entity-Relationship Modeling , 2000, Springer Berlin Heidelberg.

[22]  Paul De Bra,et al.  Horizontal Decompositions for Handling Exceptions to Functional Dependencies , 1982, Advances in Data Base Theory.