[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ Skip to main content
Log in

Logic for improving integrity checking in relational data bases⋆

  • Published:
Acta Informatica Aims and scope Submit manuscript

Summary

When an “updating” operation occurs on the current state of a data base, one has to ensure the new state obeys the integrity constraints. So, some of them have to be evaluated on this new state. The evaluation of an integrity constraint can be time consuming, but one can improve such an evaluation by taking advantage from the fact that the integrity constraint is satisfied in the current state. Indeed, it is then possible to derive a simplified form of this integrity constraint which is sufficient to evaluate in the new state in order to determine whether the initial constraint is still satisfied in this new state. The purpose of this paper is to present a simplification method yielding such simplified forms for integrity constraints. These simplified forms depend on the nature of the updating operation which is the cause of the state change. The operations of inserting, deleting, updating a tuple in a relation as well as transactions of such operations are considered. The proposed method is based on syntactical criteria and is validated through first order logic. Examples are treated and some aspects of the method application are discussed.

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

Access this article

Subscribe and save

Springer+ Basic
£29.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (United Kingdom)

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Aho, A.V., Sagiv, Y., Ullman, J.D.: Efficient optimization of a class of relational expressions. Presented at the ACM-SIGMOD Conf., Austin, (June, 1978). ACM-TODS (4.4). 1979

  2. Artaud, A., Nicolas, J.-M.: An experimental query system: SYNTEX. Proc. of the International Computing Symposium, Davos, 1973, North-Holland, 1974

  3. Beeri, C., Bernstein, P.A., Goodman, N.: A sophisticate's introduction to data base normalization theory. Proc. of the 4th VLDB Conf. Berlin, 1978

  4. Bernstein, P.A., Blaustein, B.T., Clarke, E.M.: Fast maintenance of semantic integrity assertions using redondant aggregate data. Proc. of the 6th VLDB Conf., Montreal, 1980

  5. Blaustein, B.T.: Enforcing database assertions: Techniques and Applications. Ph. D. Thesis, Cambridge: Harvard University, 1981

    Google Scholar 

  6. Cadiou, J.-M.: On semantic issues in the relational model of data. In: Math. Found. Comput. Sci. Mazurkiewiez, A. (ed.). Vol. 45, Berlin Heidelberg New York: Springer 1976

    Google Scholar 

  7. Chang, C.L., Lee, R.C.T.: Symbolic logic and mechanical theorem proving. Comput. Sci. Appl. Math. Academic Press, 1973

  8. Chang, C.L., DEDUCE 2: Further investigations of deduction in relational data bases. In: [16]

  9. Chandra, A.K., Merlin, P.M.: Optimal implementation of conjunctives queries in relational Data Banks. Proc. 9th Annual ACM-Symp. Theory Comput. 1976

  10. Date, C.J.: An introduction to data base systems. (Second edition), Addison-Wesley Publ. Comp., 1977

  11. Demolombe, R., Lemaître, M., Nicolas, J.-M.: The language of SYNTEX-2, an implemented relational-tike DBMS. In: Informat. Technol. Moneta, J. (ed.). JCIT3, Amsterdam: North-Holland Pub. Comp., 1978

    Google Scholar 

  12. Enderton, H.B.: A mathematical introduction to logic. Academic Press, 1972

  13. Eswaran, K.P., Chamberlin, D.D.: Functional specifications of a sub-system for Data Base Integrity. Proc. 1st VLDB Conf., Framingham, 1975

  14. Fagin, R.: Horn clauses and database dependencies. Proc. 12th Annual ACM Symp. Theor. Comput., 1980

  15. Gallaire, H.: Impacts of Logic on Databases. Proc. 7th VLDB Conf., Cannes, 1981

  16. Gallaire, H., Minker, J. (eds.): Logic and databases. New York: Plenum Press, 1978

    Google Scholar 

  17. Hammer, M.M., McLeod, D.J.: Semantic integrity in a relational data base system. Proc. 1st VLDB Conf, Framingham, 1975

  18. Hammer, M., Sarin, S.K.: Efficient monitoring of data base assertions. Presented at the ACM- SIGMD 78 Conf., Austin, 1978

  19. Homeier, P.V.: Simplifying Integrity constraints in a relational database: an implementation. Master thesis, Comput. Sci. Dept., Los Angeles: University of California, 1981

    Google Scholar 

  20. Kowalski, R.: Logic for Problem solving. Elsevier North-Holland, New York, 1979

    Google Scholar 

  21. Mendelson, E.: Introduction to mathematical logic. D. van Nostrand, 1964

  22. Nicolas, J.-M., Gallaire, H.: Data base: theory vs. interpretation. In: [16]

  23. Nicolas, J.-M., Yazdanian, K.: Integrity checking in deductive data bases. In: [16]

  24. Nicolas, J.-M.: First order logic formalization for functional, multivalued and mutual dependencies. Proc. ACM-SIGMOD Conf., Austin, 1978

  25. Nicolas, J.-M.: Logical formulas and integrity constraints: the range restricted property and a simplification method. T-R CERT-LBD/79-1, Toulouse, 1979

  26. Nicolas, J.-M.: A property of logical formulas corresponding to integrity constraints on data base relations. Preprints of the Workshop on “Formal bases for data bases”, Toulouse, 1979

  27. Nicolas, J.-M.: Applying a simplification method for integrity constraints to Dependency statements. T.R. CERT, 1979

  28. Palermo, F.P.: A data base search problem: In: Informat. Syst. COINS IV. Tou, J.T. (ed.). New York- Plenum Press, 1974

    Google Scholar 

  29. Pirotte, A.: High level data base query languages. In: [16]

  30. Stonebraker, M.: High level integrity assurance in relational data base management systems. Mem. ERL-M473, University of California, Berkeley, 1974

    Google Scholar 

  31. Stonebraker, M.: Implementation of integrity constraints and views by query modification. Proc. ACM-SIGMOD Conf., San Jose, 1975

  32. Ullman, J.D.: Principles of Database systems. Computer Science Press, Potomac, MD, 1980

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

The work reported in this paper was supported by the D.R.E.T.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Nicolas, JM. Logic for improving integrity checking in relational data bases⋆. Acta Informatica 18, 227–253 (1982). https://doi.org/10.1007/BF00263192

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00263192

Keywords

Navigation