Optimizing Active Database Transactions Using an Extended Multiversion Concurrency Control Protocol - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 1995

Optimizing Active Database Transactions Using an Extended Multiversion Concurrency Control Protocol

Eric Simon
  • Function : Author

Abstract

We study the problem of efficiently evaluating transactions that automatically invoke the execution of (deferred) database triggers at the end of the transaction. In particular, we consider an important class of triggers which may express arbitrary integrity constraints and alerters. Their event part specifies data modifications, their condition part is an arbitrary database query, and their action part can raise some alerts, issue a rollback, or «repair» the data modification that triggered the rule. An update transaction that invokes such deferred trigger(s) reads (and locks) new database items before committing. These read operations may entail inter-transactions blockings, thereby degrading the performance of active database applications. We propose a slight extension of the classical multiversion two phase locking (MV2PL) protocol whereby these reads access versions and do not take locks. We prove the correctness of this protocol, and show that its implementation requires very few changes to classical implementations of MV2PL. Finally, a careful performance evaluation conducted with a simulator, shows the benefits of our protocol compared to a two phase locking protocol.
Fichier principal
Vignette du fichier
RR-2519.pdf (402.6 Ko) Télécharger le fichier

Dates and versions

inria-00074159 , version 1 (24-05-2006)

Identifiers

  • HAL Id : inria-00074159 , version 1

Cite

Dimitri Tombroff, François Llirbat, Eric Simon. Optimizing Active Database Transactions Using an Extended Multiversion Concurrency Control Protocol. [Research Report] RR-2519, INRIA. 1995. ⟨inria-00074159⟩
206 View
178 Download

Share

Gmail Facebook X LinkedIn More