next up previous contents
Next: 2.14.4.1 ACID Up: 2.14 Shared Data and Previous: 2.14.3 Automatic Teller Machines   Contents

2.14.4 Transactions

Transactions are technique for grouping operations on data so that either all complete or none complete

Typically server offers transaction service, such as:

beginTransaction(transId)
Record the start of a transaction and associate operations with this transId with this transaction.
commitTransaction(transId)
Commit all the changes the operations in this transaction have made to permanent storage.
abortTransaction(transId)
Abort all the changes the transaction operations have done, and roll back to previous state.



Subsections
next up previous contents
Next: 2.14.4.1 ACID Up: 2.14 Shared Data and Previous: 2.14.3 Automatic Teller Machines   Contents
Daniel Chalmers 2007-02-08