Definition
A saga [3] is a sequence of atomic transactions T 1,...,T n for which the following execution guarantee is made. Either the component transactions T i will all commit in the order
in which case that saga is said to have committed, or one of the transaction sequences
will be executed (for some 0 ≤ j < n), in which case the saga is said to have aborted. The transactions C i are compensating transactions for the corresponding saga transactions T i . Each transaction T i in a saga must have a corresponding compensating transaction, which is responsible for undoing the T i ’s effects.
Key Points
A saga is a type of extended transaction model [1] Each component transaction in a saga is executed atomically, but the saga itself is not atomic. Effects of the component transactions are visible to other operations as soon as those transactions commit, which may be well before the saga has finished.
The saga model guarantees...
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Recommended Reading
Chrysanthis P.K. and Ramamritham K. Synthesis of extended transaction models using ACTA. ACM Trans. Database Syst., 19(3):450–491, 1994.
Garcia-Molina H. Using semantic knowledge for transaction processing in a distributed database. ACM Trans. Database Syst., 8(2):186–213, 1983.
Garcia-Molina H. and Salem K. Sagas. In Proc. ACM SIGMOD Int. Conf. on Management of Data, 1987, pp. 249–259.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer Science+Business Media, LLC
About this entry
Cite this entry
Salem, K. (2009). Sagas. In: LIU, L., ÖZSU, M.T. (eds) Encyclopedia of Database Systems. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-39940-9_724
Download citation
DOI: https://doi.org/10.1007/978-0-387-39940-9_724
Publisher Name: Springer, Boston, MA
Print ISBN: 978-0-387-35544-3
Online ISBN: 978-0-387-39940-9
eBook Packages: Computer ScienceReference Module Computer Science and Engineering