3 Tranactions (Book Chapter 9)
3 Tranactions (Book Chapter 9)
3 Tranactions (Book Chapter 9)
Stock Sold
item list items list
After selling an item, it must be added in the sold items list (one
operation) and it should be subtracted from the stock items list (second
operation).
Both of these operations together make up a single transcation.
Both must complete successfully or both mus fail.
University Of Malakand | Department of Computer Science | Visual Computing Research Group | Dr. Engr.Sami ur Rahman 2 of 6
Commit and Rollback
University Of Malakand | Department of Computer Science | Visual Computing Research Group | Dr. Engr.Sami ur Rahman 3 of 6
Transaction Properties (ACID Properties)
University Of Malakand | Department of Computer Science | Visual Computing Research Group | Dr. Engr.Sami ur Rahman 4 of 6
Thanks for your attention
University Of Malakand | Department of Computer Science | Visual Computing Research Group | Dr. Engr.Sami ur Rahman 5 of 6