Properties and update semantics of consistent views
- 1 October 1988
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 13 (4), 486-524
- https://doi.org/10.1145/49346.50068
Abstract
The problem of translating view updates to database updates is considered. Both databases and views are modeled as data abstractions. A data abstraction consists of a set of states and of a set of primitive update operators representing state transition functions. It is shown how complex update programs can be built from primitive update operators and how view update programs are translated into database update programs. Special attention is paid to a class of views that we call “consistent.” Loosely speaking, a consistent view is a view with the following property: If the effect of a view update program on a view state is determined, then the effect of the corresponding database update is unambiguously determined. Thus, in order to know how to translate a given view update into a database update, it is sufficient to be aware of a functional specification of such a program. We show that consistent views have a number of interesting properties with respect to the concurrency of (high-level) update transactions. Moreover we show that the class of consistent views includes as a subset the class of views that translate updates under maintenance of a constant complement. However, we show that there exist consistent views that do not translate under constant complement. The results of Bancilhon and Spyratos [6] are generalized in order to capture the update semantics of the entire class of consistent views. In particular we show that the class of consistent views is obtained if we relax the requirement of a constant complement by allowing the complement to decrease according to a suitable partial order.Keywords
This publication has 26 references indexed in Scilit:
- Equivalence and optimization of relational transactionsJournal of the ACM, 1988
- Comment on Bancilhon and Spyratos' “Update semantics and relational views”ACM Transactions on Database Systems, 1987
- Updates of Relational ViewsJournal of the ACM, 1984
- On the correct translation of update operations on relational viewsACM Transactions on Database Systems, 1982
- On the updatability of network views—extending relational view theory to the network modelInformation Systems, 1982
- A Formal System for Reasoning about Programs Accessing a Relational DatabaseACM Transactions on Programming Languages and Systems, 1980
- Data abstractions for database systemsACM Transactions on Database Systems, 1979
- The notions of consistency and predicate locks in a database systemCommunications of the ACM, 1976
- The design and implementation of INGRESACM Transactions on Database Systems, 1976
- System RACM Transactions on Database Systems, 1976