Skip to main content
Log in

The use of deleted tuples in database querying and updating

  • Published:
Acta Informatica Aims and scope Submit manuscript

Abstract.

The traditional approach to database querying and updating treats insertions and deletions of tuples in an asymmetric manner: if a tuple \(t\) is inserted then, intuitively, we think of \(t\) as being true and we use this knowledge in query and update processing; in contrast, if a tuple \(t\) is deleted then we think of \(t\) as being false but we do not use this knowledge at all! In this paper, we present a new approach to database querying and updating in which insertions and deletions of tuples are treated in a symmetric manner. Contrary to the traditional approach, we use both inserted and deleted tuples in our derivation algorithms. Our approach works as follows: if the deletion of a tuple \(t\) is requested, then we mark \(t\) as being deleted without removing it from the database; if the insertion of a tuple \(t\) is requested, then we simply place \(t\) in the database and remove all its marked subtuples. Derivation of tuples is done using two derivation rules under one constraint: a tuple \(t\) is derived only if \(t\) has no marked subtuples in the database. The derivation rules reflect relational projection and relational join. The main contribution of our work is to provide a method which allows insertion or deletion of a tuple over any relation scheme in a deterministic way.

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.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received: 12 June 1995 / 19 February 1997

Rights and permissions

Reprints and permissions

About this article

Cite this article

Laurent, D., Phan Luong, V. & Spyratos, N. The use of deleted tuples in database querying and updating. Acta Informatica 34, 905–925 (1997). https://doi.org/10.1007/s002360050111

Download citation

  • Issue Date:

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

Keywords

Navigation