HAL will be down for maintenance from Friday, June 10 at 4pm through Monday, June 13 at 9am. More information
Skip to Main content Skip to Navigation
Reports

Optimizing Active Database Transactions Using an Extended Multiversion Concurrency Control Protocol

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.
Document type :
Reports
Complete list of metadata

https://hal.inria.fr/inria-00074159
Contributor : Rapport de Recherche Inria Connect in order to contact the contributor
Submitted on : Wednesday, May 24, 2006 - 2:38:43 PM
Last modification on : Thursday, February 3, 2022 - 11:18:27 AM
Long-term archiving on: : Tuesday, April 12, 2011 - 3:36:41 PM

Identifiers

  • HAL Id : inria-00074159, version 1

Collections

Citation

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⟩

Share

Metrics

Record views

187

Files downloads

166