Characterizing Serializability
Characterizing Serializability
changes,
2.Write-Write Conflict
Eg: If we change the order of two operations
such as w1(X); w2(X) to w2(X); w1(X).
1. The operations in S are exactly those
operations in T1, T2, ..., Tn, including a commit
or abort operation as the last operation for
each transaction in the schedule.
2. For any pair of operations from the same
transaction Ti, their relative order of
appearance in S is the same as their order of
appearance in Ti.
3. For any two conflicting operations, one of
the two must occur before the other in the
schedule.
Since every transaction has either committed
or aborted, a complete schedule will not
contain any active transactions at the end of
the schedule.
Result Equivalence
View Equivalence
Conflict Equivalence
Two schedules are called result equivalent if
they produce the same final state of the
database.
The schedules S and S2 will produce the same
1