Isolation means when multiple transaction run at the same time they should not affect each other
Example
Initial Data
A=1000
Without Isolation
T1 = Deduct 800
T2 = Deduct 500
1000-800-500 = -300
With Isolation
T1 = Deduct 800
remaining 200
T2 = deduct 500
200 - 500 (Not allowed)
Top comments (0)