edited by
1,647 views
1 votes
1 votes

Somebody please explain this i am not able to understand please given an example of transaction or explain in hindi what the question and answer is please explain somebody please

Here i am posting the Entire Question with some Multiple Choices and a Perfect Example now please somebody please explain which choice is correct and which is wrong

I am not able to understand it.

edited by

2 Answers

2 votes
2 votes
It is basically saying that if the write locks are released before the data is saved, then a new transaction might come, use the data, change its value and then commit before the commit of the first transaction occurred. After that at some later time, the first transaction finishes it commit.

There are two issue here, the data read by the second transaction is old data (in ideal situation it should have used the value which the first transaction provides) and the other issue if that the after the first transaction finishes its commit, the commit done  by the second transaction is lost.

Hope this helps.
1 votes
1 votes

.........

Related questions

2 votes
2 votes
1 answer
1
techbrk3 asked Nov 9, 2017
1,499 views
(TS: time stamp)If TS (T) < Read-TS (Q), then write is rejected and T is rolled backIf TS (T) < write-TS (Q), then write is rejected and T is rolled backBoth (A) and (B)N...
0 votes
0 votes
1 answer
2
Anup patel asked Dec 26, 2017
536 views
We have 2 Schedule S1 and S2 ... There are no Conflict Operation in S1 and S2. So can we say they are conflict equivalent ?
0 votes
0 votes
0 answers
3
LavTheRawkstar asked Mar 17, 2017
561 views
In two phase Commit Protocol,why can blocking be completely eliminated even when participants elect a new Coordinator ?