Updating relational databases through weak instance interfaces

The problem of updating databases through interfaces based on the weak instance model is studied, thus extending previous proposals that considered them only from the query point of view. Insertions and deletions of tuples are considered. As a preliminary tool, a lattice on states is defined, based on the information content of the various states. Potential results of an insertion are states that contain at least the information in the original state and that in the new tuple. Sometimes there is no potential result, and in the other cases there may be many of them. We argue that the insertion is deterministic if the state that contains the information common to all the potential results (the greatest lower bound, in the lattice framework) is a potential result itself. Effective characterizations for the various cases exist. A symmetric approach is followed for deletions, with fewer cases, since there are always potential results; determinism is characterized as a consequence.

[1]  Umeshwar Dayal,et al.  On the correct translation of update operations on relational views , 1982, TODS.

[2]  Alberto O. Mendelzon,et al.  Answering queries on embedded-complete database schemes , 1987, JACM.

[3]  Moshe Y. Vardi The universal-relation data model for logical independence , 1988, IEEE Software.

[4]  Rom Langerak,et al.  View updates in relational databases with an independent scheme , 1990, TODS.

[5]  E. F. Codd 'Universal' Relation Fails to Replace Relational Model (letter to the editor) , 1988, IEEE Softw..

[6]  Nicolas Spyratos,et al.  Implementing Queries and Updates on Universal Scheme Interfaces , 1988, VLDB.

[7]  Alfred V. Aho,et al.  Equivalences Among Relational Expressions , 1979, SIAM J. Comput..

[8]  Yehoshua Sagiv,et al.  A characterization of globally consistent databases and their correct access paths , 1983, TODS.

[9]  Ronald Fagin,et al.  On the semantics of updates in databases , 1983, PODS.

[10]  David Maier,et al.  On the foundations of the universal relation model , 1984, TODS.

[11]  Antonio L. Furtado,et al.  Permitting updates through views of data bases , 1979, Inf. Syst..

[12]  Nicolas Spyratos The partition model: a deductive database model , 1987, TODS.

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

[14]  Jeffrey D. Ullman,et al.  Universal Relation Interfaces for Database Systems , 1983, IFIP Congress.

[15]  Jeffrey D. Ullman,et al.  On complementary and independent mappings on databases , 1984, SIGMOD '84.

[16]  David Maier,et al.  Testing implications of data dependencies , 1979, SIGMOD '79.

[17]  Paolo Atzeni,et al.  A New Interpretation for Null Values in the Weak Instance Model , 1990, J. Comput. Syst. Sci..

[18]  Philip A. Bernstein,et al.  Computational problems related to the design of normal form relational schemas , 1979, TODS.

[19]  Yehoshua Sagiv,et al.  Can we use the universal instance assumption without using nulls? , 1981, SIGMOD '81.

[20]  Mihalis Yannakakis,et al.  Independent database schemas , 1982, PODS '82.

[21]  Alberto O. Mendelzon Database states and their tableaux , 1984, TODS.

[22]  Paolo Atzeni,et al.  Approaches to Updates over Weak Instances , 1989, MFDBS.

[23]  Paolo Atzeni,et al.  Updating intensional predicates in Datalog , 1992, Data Knowl. Eng..

[24]  Nicolas Spyratos,et al.  Partition semantics for relations , 1985, PODS '85.

[25]  Edward P. F. Chan Optimal computation of total projections with unions of simple chase join expressions , 1984, SIGMOD '84.

[26]  Alfred V. Aho,et al.  Efficient optimization of a class of relational expressions , 1979, TODS.

[27]  Peter Honeyman,et al.  Testing satisfaction of functional dependencies , 1982, JACM.

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

[29]  E. F. Codd Comments, with reply, on 'The universal-relation data model for logical independence' by M. Vardi , 1988 .

[30]  Gottfried Vossen,et al.  Update and retrieval in a relational database through a universal schema interface , 1988, TODS.

[31]  Paolo Atzeni,et al.  A new basis for the weak instance model , 1987, PODS '87.

[32]  Paolo Atzeni,et al.  Efficient updates to independent schemes in the weak instance model , 1990, SIGMOD '90.

[33]  David Maier,et al.  The Theory of Relational Databases , 1983 .

[34]  Gabriel M. Kuper,et al.  Updating Logical Databases , 1986, Adv. Comput. Res..

[35]  Arthur M. Keller,et al.  Algorithms for translating view updates to database updates for views involving selections, projections, and joins , 1985, PODS.

[36]  Alfred V. Aho,et al.  The theory of joins in relational data bases , 1977, 18th Annual Symposium on Foundations of Computer Science (sfcs 1977).

[37]  David Maier,et al.  Window Functions , 1986, Advances in Computational Research.

[38]  Alfred V. Aho,et al.  Efficient optimization of a class of relational expressions , 1978, SIGMOD Conference.

[39]  J. D. Uiiman,et al.  Principles of Database Systems , 2004, PODS 2004.