The concept of nested transaction extends the traditional idea of transaction in that the nested transaction can contain any number of atomic (sub)transactions (nested in their turn, if more nesting levels are supported). However, the nested transaction as a whole must remain atomic, i.e indivisibility and all-or-nothing properties must be guaranteed. In our opinion, among the well-known advantages offered by nesting, the modularity property, i.e. the capability of freely composing previously existing transaction modules within an enclosing parent transaction, is the most attractive feature. We suggest that nesting should be supported by exploiting a general synchronization mechanism based on the two-phase lock protocol. We reject the usual rule which maintains objects locked until transaction completion and allow the early release of locks immediately after the termination of the growing phase. Although this mechanism requires heavier book-keeping and implies cascading aborts, on the other hand, it enhances potential concurrency between running transactions. Current literature dealing with concurrency control and nested transactions is summarily reviewed and compared with our approach.

A general mechanism to support nested atomic transactions

Bertolino A;Fusani M
1988

Abstract

The concept of nested transaction extends the traditional idea of transaction in that the nested transaction can contain any number of atomic (sub)transactions (nested in their turn, if more nesting levels are supported). However, the nested transaction as a whole must remain atomic, i.e indivisibility and all-or-nothing properties must be guaranteed. In our opinion, among the well-known advantages offered by nesting, the modularity property, i.e. the capability of freely composing previously existing transaction modules within an enclosing parent transaction, is the most attractive feature. We suggest that nesting should be supported by exploiting a general synchronization mechanism based on the two-phase lock protocol. We reject the usual rule which maintains objects locked until transaction completion and allow the early release of locks immediately after the termination of the growing phase. Although this mechanism requires heavier book-keeping and implies cascading aborts, on the other hand, it enhances potential concurrency between running transactions. Current literature dealing with concurrency control and nested transactions is summarily reviewed and compared with our approach.
1988
Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" - ISTI
Mechanism
atomic transactions
File in questo prodotto:
File Dimensione Formato  
prod_419444-doc_148235.pdf

solo utenti autorizzati

Descrizione: A general mechanism to support nested atomic transactions
Tipologia: Versione Editoriale (PDF)
Dimensione 1.04 MB
Formato Adobe PDF
1.04 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/363859
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact