Abstract
We study the problem of updating intensional relations in the framework of deductive databases on which integrity constraints (specifically functional dependencies) are defined. First, a formalization of a model-theoretic semantics of updates is provided: the notions ofrepresentability, consistency anddeterminism are introduced to characterize the various cases. Then, a proof-theoretic approach, based on a variant of resolution integrated with the chase procedure, is defined, showing that the method exactly captures the above notions. It turns out that using functional dependencies it is possible to resolve potential ambiguities in several practical cases. Also, precomputations can be performed at definition time to execute update requests more efficiently.
Similar content being viewed by others
References
Abiteboul, S.: Updates, a new frontier. In: ICDT'88, Second International Conference on Data Base Theory, Bruges. (Lect. Notes Comput. Sci., vol. 326, pp. 1–18) Berlin Heidelberg New York: Springer 1988
Atzeni, P., Torlone, R.: Solving ambiguities in updating deductive databases. In: MFDBS'91, Mathematical Fundamentals of Data Base Systems, Rostock, Germany. (Lect. Notes Comput. Sci., vol. 495, pp. 104–118) Berlin Heidelberg New York: Springer 1991
Atzeni, P., Torlone, R.: Updating intensional predicates in Datalog. Data Knowl. Eng.7(8):1–17 (1992)
Atzeni, P., Torlone, R.: Updating relational databases through weak instance interfaces. ACM Trans. Database Syst.17(4):718–746 (Dec. 1992)
Bancilhon, F., Spyratos, N.: Update semantics of relational views. ACM Trans. Database Syst.6(4):557–575 (1981)
Biskup, J., Convent, B.: Relational chase procedures interpreted as resolution with paramodulation. Fundam. Inf.15(8):123–138 (1991)
Bry, F.: Intensional updates: abduction via deduction. In: 7th International Conference on Logic Programming, pp. 561–575, 1990
Ceri, S., Gottlob, G., Tanca, L.: Logic Programming and Data Bases. Berlin Heidelberg New York: Springer 1989
Cosmadakis, S.S., Gaifman, H., Kanellakis, P.C., Vardi, M.: Decidable optimization problems for database logic programs. In: Twentieth ACM SIGACT Symposium on Theory of Computing pp. 477–490, 1988.
Cosmadakis, S.S., Papadimitriou, C.H.: Updates of relational views. J. ACM31(4):742–760 (1984)
Dayal, U., Bernstein, P.A.: On the correct translation of update relations on relational views. ACM Trans. Database Syst.8(3):381–416 (1982)
Decker, H.: Drawing updates from derivations. In: ICDT'90, Third International Conference on Data Base Theory, Paris. (Lect. Notes Comput. Sci., vol. 470, pp. 437–451) Berlin Heidelberg New York: Springer 1990
Fagin, R., Kuper, G.M., Ullman, J.D., Vardi, M.Y.: Updating logical databases. In: Kanellakis, P.C., Preparata, F.P. (eds.) Advances in computing research, vol. 3, pp. 1–18. London: JAI Press 1986
Fagin, R., Ullman, J.D., Vardi, M.Y.: On the semantics of updates in databases. In: Second ACM SIGACT SIGMOD Symposium on Principles of Database Systems, pp. 352–365, 1983
Gottlob, G., Paolini, P., Zicari, R.: Properties and update semantics of consistent views. ACM Trans. Database Syst.13(4):486–524 (1988)
Guessoum, A., Lloyd, J.W.: Updating knowledge bases. New Generation Comput.8(1):71–89 (1990)
Guessoum, A., Lloyd, J.W.: Updating knowledge bases II. New Generation Comput.10(1):73–100 (1991)
Honeyman, P.: Testing satisfaction of functional dependencies. J. ACM29(3):668–677 (1982)
Kakas, A.C., Mancarella, P.: Database updates through abduction. In: Sixteenth International Conference on Very Large Data Bases, Brisbane, pp. 650–661, 1990
Keller, A.M.: Algorithms for translating view updates to database updates for views involving selections, projections, and joins. In: Fourth ACM SIGACT SIGMOD Symposium on Principles of Database Systems, pp. 154–163, 1985
Lloyd, J.W.: Foundations of Logic Programming, 2nd edn. Berlin Heidelberg New York: Springer 1987
Maier, D., Mendelzon, A.O., Sagiv, Y.: Testing implications of data dependencies. ACM Trans. Database Syst.4(4):455–468 (1979)
Manchanda, S., Warren, D.S.: A logic-based language for database updates. In: Minker, I. (eds.) Foundations of deductive databases and logic programming. pp. 363–394,. Los Altos: Morgan Kaufman 1988
Mendelzon, A.O., Woods, P.T.: Functional dependencies in horn clause queries. ACM Trans. Database Syst.16(4):31–55 (1991)
Naqvi, S., Krishnamurthy, R.: Database updates in logic programming. In: Seventh ACM SIGACT SIGMOD SIGART Symposium on Principles of Database Systems, pp. 251–262, 1988
Naughton, J.: Data independent recursion in deductive databases. In: Fifth ACM SIGACT SIGMOD Symposium on Principles of Database Systems, pp. 267–279, 1986
Naughton, J..: Minimizing function-free recursive inference rules. J. ACM36(1).:69–91 (1989)
Peirce, C.S.: Collected papers of Charles Sanders Peirce, vol. 2, Cambridge: Harvard University Press 1958
Rossi, F., Naqvi, S.: Contributions to the view update problem. In: 6th International Conference on Logic Programming, pp. 398–415, 1989
Sadri, F., Kowalski, R.: A theorem-proving approach to database integrity. In: Minker, J. (eds.) Foundations of deductive databases and logic programming, pp. 313–362. Los Altos: Morgan Kaufman 1988
Sagiv, Y.: Optimizing Datalog programs. In: Minker, J. (eds.) Foundations of deductive databases and logic programming, pp. 627–658. Los Altos: Morgan Kaufman 1988
Tomasic, A.: View update translation via deduction and annotation. In: ICDT'88, Second International Conference on Data Base Theory, Bruges. (Lect. Notes Comput. Sci., vol. 326, pp. 338–352) Berlin Heidelberg New York: Springer 1988
Torlone, R., Atzeni, P.: Updating deductive databases with functional dependencies. In: DOOD'91, Second International Conference on Deductive and Object-Oriented Databases, Munich. (Lect. Notes Comput. Sci vol. 566, pp. 278–291) Berlin Heidelberg New York: Springer 1991
Ullman, J.D.: Principles of database and knowledge base systems, volume 1 & 2. Potomac, Maryland: Computer Science Press 1988
Vardi, M.Y.: Decidability and undecidability results for boundedness of linear recursive queries. In: Seventh ACM SIGACT SIGMOD SIGART Symposium on Principles of Database Systems, pp. 341–351, 1988
Wilkins, M.W.: A model-theoretic approach to updating logical databases. In: Fifth ACM SIGACT SIGMOD Symposium on Principles of Database Systems, pp. 224–234, 1986
Author information
Authors and Affiliations
Additional information
Work partially supported by Consiglio Nazionale delle Ricerche, within “Progetto Finalizzato Sistemi Informatici e Calcolo Parallelo, LRC Logidata+”, and by System & Management S.p.A.
A preliminary version of this paper appeared in [33].
Rights and permissions
About this article
Cite this article
Torlone, R. Update operations in deductive databases with functional dependencies. Acta Informatica 31, 573–600 (1994). https://doi.org/10.1007/BF01213208
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF01213208