Maximal Expansions of Database Updates

Databases with integrity constraints (IC) are considered. For each DB update, i.e. a set of facts to add and of facts to delete, the IC implies its correct expansion: new facts to add and new facts to delete. Simultaneously, each expanded update induces a correct simplification of the IC. In the limit this sequence of expansions and simplifications converges to the maximal correct update expansion independent from the initial DB state. We show that such maximal expansion is computed in square time for partial databases, and that its computation is a co-N P-complete problem in classical databases. However, it is also square time computable in classical DBs under ICs with some restrictions on the use of negation. Computing the real change of the initial DB state after accomplishing an update is a hard problem. The use of maximal update expansion in the place of initial update can substantially simplify computation of a new correct DB state.

[1]  Nicolas Spyratos,et al.  On Conservative Enforced Updates , 1997, LPNMR.

[2]  Paolo Mancarella,et al.  Database Updates through Abduction , 1990, VLDB.

[3]  Chitta Baral,et al.  Logic Programming and Knowledge Representation , 1994, J. Log. Program..

[4]  Michael Kifer,et al.  An Overview of Transaction Logic , 1994, Theor. Comput. Sci..

[5]  J. Lloyd Foundations of Logic Programming , 1984, Symbolic Computation.

[6]  Jennifer Widom,et al.  An overview of production rules in database systems , 1993, The Knowledge Engineering Review.

[7]  Robert A. Kowalski,et al.  Abduction Compared with Negation by Failure , 1989, ICLP.

[8]  Anthony Tomasic,et al.  View Update Translation via Deduction and Annotation , 1988, ICDT.

[9]  V. Lifschitz,et al.  Foundations of Logic Programming , 1997 .

[10]  Serge Abiteboul,et al.  Updates, A New Frontier , 1988, ICDT.

[11]  Victor W. Marek,et al.  Revision Programming, Database Updates and Integrity Constraints , 1995, ICDT.

[12]  Serenella Cerrito,et al.  A Linear Axiomatization of Negation as Failure , 1992, J. Log. Program..

[13]  Georg Gottlob,et al.  On the complexity of propositional knowledge base revision, updates, and counterfactuals , 1992, Artif. Intell..

[14]  Krzysztof R. Apt,et al.  Logic Programming , 1990, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[15]  Nicolas Spyratos,et al.  Monotone Expansion of Updates in Logical Databases , 1999, LPNMR.

[16]  Nicolas Spyratos,et al.  Update Rules in Datalog Programs , 1995, LPNMR.

[17]  José Júlio Alferes,et al.  Update-Programs Can Update Programs , 1996, NMELP.

[18]  Teodor C. Przymusinski,et al.  Update by Means of Inference Rules , 1997, J. Log. Program..

[19]  Hendrik Decker,et al.  An Extension of SLD by Abduction and Integrity Maintenance for View Updating in Deductive Databases , 1996, Joint International Conference and Symposium on Logic Programming.

[20]  Kenneth A. Ross,et al.  The well-founded semantics for general logic programs , 1991, JACM.

[21]  Nicolas Spyratos,et al.  On Logically Justified Updates , 1998, IJCSLP.