Skip to main content

Nested Transaction Models

  • Reference work entry
  • First Online:
  • 16 Accesses

Definition

A nested transaction model as proposed by Moss is a generalization of the flat transaction model that allows nesting. A nested transaction forms a tree of transactions with the root being called a top-level transaction and all other nodes called nested transactions (subtransactions). Transactions having no subtransactions are called leaf transactions. Transactions with subtransactions are called parents (ancestors) and their subtransactions are called children (descendants).

A subtransaction can commit or rollback by itself. However, the effects of the commit cannot take place unless the parent transaction also commits. Therefore, in order for any subtransaction to commit, the top-level transaction must commit. If a subtransaction aborts, all its children subtransactions (forming a subtree) are forced to abort even if they committed locally.

Historical Background

Nested transactions were introduced by Moss in 1981 [1] to overcome some of the limitations of the flat...

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   4,499.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD   6,499.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Recommended Reading

  1. Moss EB. Nested transactions: an approach to reliable distributed computing. Technical Report. PhD Thesis. UMI Order Number: TR-260: Massachusetts Institute of Technology; 1981. p. 178.

    Google Scholar 

  2. Bjork LA. Recovery scenario for a DB/DC system. In: Proceedings of the ACM Annual Conference; 1973. p. 142–6.

    Google Scholar 

  3. Davies CT. Recovery semantics for a DB/DC system. In: Proceedings of the ACM Annual Conference; 1973. p. 136–41.

    Google Scholar 

  4. Davies CT. Data processing spheres of control. IBM Syst J. 1978;17(2):179–98.

    Article  Google Scholar 

  5. Reed DP. Naming and synchronization in a distributed computer system. Technical Report. PhD Thesis, UMI Order Number: TR-205: Massachusetts Institute of Technology; 1978. p. 181.

    Google Scholar 

  6. Gray J, Reuter A. Transaction processing: concepts and techniques. 1st ed. San Francisco: Morgan Kaufmann Publishers; 1992.

    MATH  Google Scholar 

  7. Liskov B. Distributed programming in Argus. Commun ACM. 1988;31(3):300–12.

    Article  MathSciNet  Google Scholar 

  8. Eppinger JL, Mummert LB, Spector AZ. Camelot and Avalon: a distributed transaction facility. San Mateo: Morgan Kaufmann Publishers; 1991.

    Google Scholar 

  9. Elmagarmid AK. Database transaction models for advanced applications. San Mateo: Morgan Kaufmann Publishers; 1992.

    Google Scholar 

  10. Weikum G. Principles and realization strategies of multilevel transaction management. ACM Trans Database Syst. 1991;16(1):132–80.

    Article  Google Scholar 

  11. Weikum G, Schek H-J. Multi-level transactions and open nested transactions. Q Bull IEEE TC Data Eng. 1991;14(1):60–6.

    Google Scholar 

  12. Weikum G, Schek HJ. Concepts and applications of multilevel transactions and open nested transactions. In: Database transaction models for advanced applications. San Mateo: Morgan Kaufmann Publishers; 1992. p. 515–53.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to George Karabatis .

Editor information

Editors and Affiliations

Section Editor information

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Science+Business Media, LLC, part of Springer Nature

About this entry

Check for updates. Verify currency and authenticity via CrossMark

Cite this entry

Karabatis, G. (2018). Nested Transaction Models. In: Liu, L., Özsu, M.T. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8265-9_716

Download citation

Publish with us

Policies and ethics