Let Ti be a transaction that transfers Rs. 50 from account A to account B.…
PYQ UGC NET 2022
Let Ti be a transaction that transfers Rs. 50 from account A to account B. This transaction can be defined as follows:
Step | Operation |
|---|---|
1 | Read(A) |
2 | A:=A − 50 |
3 | Write(A) |
4 | Read(B) |
5 | B:=B + 50 |
6 | Write(B) |
What will be the status of a database just after 3rd step but before 5th step of transaction execution?
- A.
Always consistent
- B.
May be temporarily inconsistent
- C.
Must be abort
- D.
Always rollback
Attempted by 47 students.
Sign up free to check your answer
Sign up freeLoading lesson…

