Академический Документы
Профессиональный Документы
Культура Документы
Several problems can occur when concurrent transactions execute in an uncontrolled manner.
Some Concurrency Problems in transaction are :
In this example
Transaction B update the same tuple at time T4 on the base of the values
available at time T2.
In this example
Transaction A retrieves the same tuple X and use the updated results at time
T2.
In this example, transaction A is used to find the sum of account balances and transaction B is
used to transfer an amount 20 from account 2 to account 1.
At time T7, transaction A retrieve AC 2 and sum becomes 140 but not 160.
The result produced by A is wrong. Hence we say that transaction A has seen
an inconsistent state.