![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Suppose I've got a part of schedule as: ... T1 : Read(X) T2 : Write(X) T1 : Read(X) ... We call this unrepeatable read problem as T1 does not get the same value of X. But I've got an objection. Why see it as a problem? Our operations may want us to make T1 read the value of X overwritten by another operation (ACID violation). Then why would any transaction would read the data again, and moreover would like to see the same data which was already with it in the buffer. Doesn't make sense. |
#3
| |||
| |||
|
|
Suppose I've got a part of schedule as: ... T1 : Read(X) T2 : Write(X) T1 : Read(X) ... We call this unrepeatable read problem as T1 does not get the same value of X. But I've got an objection. Why see it as a problem? Our operations may want us to make T1 read the value of X overwritten by another operation (ACID violation). Then why would any transaction would read the data again, and moreover would like to see the same data which was already with it in the buffer. Doesn't make sense. Better you should ask, why wouldn't it be a problem? |
![]() |
| Thread Tools | |
| Display Modes | |
| |