ComputingComputer ScienceComputer SystemsData ManagementDatabasesDistributed SystemsConcurrency ControlDatabase ManagementDistributed DatabasesTemporal DatabasesTransaction ManagementTransaction Processing SystemsCompensating TransactionsDatabase Management SystemsDatabase TransactionsTemporal Transaction ManagementTransaction ProcessingTransactions
Long lived transactions (LLTs) hold on to database resources for relatively long periods of time, significantly delaying the termination of shorter and more common transactions. To alleviate these problems we propose the notion of a saga. A LLT is a saga if it can be written as a sequence of transactions that can be interleaved with other transactions. The database management system guarantees that either all the transactions in a saga are successfully completed or compensating transactions are run to amend a partial execution. Both the concept of saga and its implementation are relatively simple, but they have the potential to improve performance significantly. We analyze the various implementation issues related to sagas, including how they can be run on an existing system that does not directly support them. We also discuss techniques for database and LLT design that make it feasible to break up LLTs into sagas.
6
Reliability mechanisms for SDD-1
M. M. Hammer, David W. Shipman · ACM Transactions on Database Systems · 1980 · 133 citations
Alfred Z. Spector, Peter Schwarz · ACM SIGOPS Operating Systems Review · 1983 · 63 citations
Coordinating Independent Atomic Actions.
David K. Gifford, James E. Donahue · COMPCON · 1985 · 28 citations