Encyclopedia of Database Systems

2018 Edition
| Editors: Ling Liu, M. Tamer Özsu

Transaction Manager

  • Andreas Reuter
Reference work entry
DOI: https://doi.org/10.1007/978-1-4614-8265-9_679

Definition

The transaction manager (TxM) is a special resource manager that implements the resource-type “transaction.” It handles all the state transitions that a transaction can perform. For simple ACID transactions, these are begin, savepoint, rollback, abort, and prepare commit; for more refined transaction models, there will be additional states. The resource managers register with the TxM when they get employed by a transaction for the first time. Thus, the TxM keeps a record for each transaction of which resource managers have been involved with it. In the same vein, it stores which sessions each transaction has used in case it has performed operations on other nodes in a distributed system. The TxM closely interacts with the concurrency control manager who can make transaction wait for other transactions in case of access conflicts. It also interacts with the logging and recovery subsystem and the communications manager.

Key Points

The TxM keeps track of all active...

This is a preview of subscription content, log in to check access.

Recommended Reading

  1. 1.
    Gray J, Reuter A. Transaction processing – concepts and techniques. San Mateo: Morgan Kaufmann; 1993.zbMATHGoogle Scholar

Copyright information

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

Authors and Affiliations

  1. 1.Heidelberg Laureate Forum FoundationHeidelbergGermany

Section editors and affiliations

  • Anastasia Ailamaki
    • 1
  1. 1.Informatique et CommunicationsEcole Polytechnique Fédérale de LausanneLausanneSwitzerland