Skip to main content
Log in

An Order-Based Theory of Updates for Closed Database Views

  • Published:
Annals of Mathematics and Artificial Intelligence Aims and scope Submit manuscript

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. S. Abiteboul, R. Hull and V. Vianu, Foundations of Databases (Addison-Wesley, Reading, MA, 1995).

    Google Scholar 

  2. J. Adámek, H. Herrlich and G. Strecker, Abstract and Concrete Categories (Wiley-Interscience, New York, 1990).

    Google Scholar 

  3. F. Bancilhon and N. Spyratos, Update semantics of relational views, ACM Transactions on Database Systems 6 (1981) 557–575.

    Google Scholar 

  4. Z. Bellahsène, Updates and object-generating views in ODBS, Data and Knowledge Engineering 34 (2000) 125–163.

    Google Scholar 

  5. F. Bentayeb and D. Laurent, View updates translations in relational databases, in: Proc. of DEXA '98, Vienna (24-28 September 1998) pp. 322–331.

  6. B.A. Davey and H.A. Priestly, Introduction to Lattices and Order, 2nd ed. (Cambridge Univ. Press, Cambridge, 2002).

    Google Scholar 

  7. P. De Bra and J. Paredaens, Horizontal decompositions for handling exceptions to functional dependencies, in: Advances in Data Base Theory, eds. H. Gallaire, J. Minker and J.M. Nicolas, Vol. 2 (Plenum Press, New York, 1984) pp. 123–141.

    Google Scholar 

  8. R. Fagin, Horn clauses and database dependencies, Journal of the Association for Computing Machinery 29(4) (1982) 952–985.

    Google Scholar 

  9. G. Gottlob, P. Paolini and R. Zicari, Properties and update semantics of consistent views, ACM Transactions on Database Systems 13 (1988) 486–524.

    Google Scholar 

  10. J. Grant and B.E. Jacobs, On the family of generalized dependency constraints, Journal of the Association for Computing Machinery 29(5) (1982) 986–997.

    Google Scholar 

  11. G. Grätzer, Universal Algebra (D. Van Nostrand, New York, 1968).

    Google Scholar 

  12. S.J. Hegner, Foundations of canonical update support for closed database views, in: ICDT'90, 3rd Internat. Conf. on Database Theory, eds. S. Abiteboul and P.C. Kanellakis, Paris, France (December 1990) pp. 422–436.

  13. S.J. Hegner, Some open problems on view axiomatization, Bulletin of the EATCS (40) (1990) 496–498.

  14. S.J. Hegner, Characterization of desirable properties of general database decompositions, Annals of Mathematics and Artificial Intelligence 7 (1993) 129–195.

    Google Scholar 

  15. S.J. Hegner, Unique complements and decompositions of database schemata, Journal of Computer and System Sciences 48(1) (1994) 9–57.

    Google Scholar 

  16. S.J. Hegner, Uniqueness of update strategies for database views, in: Foundations of Information and Knowledge Systems: Proc. of the 2nd Internat. Symposium, FoIKS 2002, Salzau Castle, Germany (February 2002) pp. 230–249.

    Google Scholar 

  17. R. Hull, Finitely specifiable implicational dependency families, Journal of the Association for Computing Machinery 31(2) (1984) 210–226.

    Google Scholar 

  18. E. Mayol and E. Teniente, A survey of current methods for integrity constraint maintenance and view updating, in: Proc. of ER '99 Workshops, Paris (15-18 November 1999) Lecture Notes in Computer Science, Vol. 1727 (Springer, New York, 1999).

    Google Scholar 

  19. J.D. Monk, Mathematical Logic (Springer, Berlin, 1976).

    Google Scholar 

  20. B. Thalheim, Entity-Relationship Modeling (Springer, Berlin, 2000).

    Google Scholar 

  21. K. Wang and M.H. Graham, Constant-time maintainability: A generalization of independence, ACM Transactions on Database Systems 17(2) (1992) 201–246.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Hegner, S.J. An Order-Based Theory of Updates for Closed Database Views. Annals of Mathematics and Artificial Intelligence 40, 63–125 (2004). https://doi.org/10.1023/A:1026158013113

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1026158013113

Navigation