written 7.9 years ago by | modified 2.8 years ago by |
Mumbai University > Information Technology > Sem 3 > Database Management System
Marks: 10M
Year: Dec 2014, Dec 2015
written 7.9 years ago by | modified 2.8 years ago by |
Mumbai University > Information Technology > Sem 3 > Database Management System
Marks: 10M
Year: Dec 2014, Dec 2015
written 7.9 years ago by |
Introduction:
Explanation:
An example of an atomic transaction is an account transfer transaction. The money is removed from account A then placed into account B. If the system fails after removing the money from account A, then the transaction processing system will put the money back into account A, thus returning the system to its original state.
Consistency:
Consider the account transfer system; the system is consistent if the total of all accounts is constant. If an error occurs and the money is removed from account A and not added to account B, then the total in all accounts would have changed. The system would no longer be consistent. By rolling back the removal from account A, the total will again be what it should be, and the system back in a consistent state.
Isolation:
If a transaction was not running in isolation, it could access data from the system that may not be consistent. By providing transaction isolation, this is prevented from happening.
Durability: