Transaction Management
Transaction Management
#View Serializability
▪ Let S and S’ be two schedules with the same set of
transactions. S and S’ are view equivalent if the
following three conditions are met, for each data
item Q,.
1. If in schedule S, transaction Ti reads the initial value of
Q, then in schedule S’ also transaction Ti must read the
initial value of Q.
2. If in schedule S transaction Ti executes read(Q), and
that value was produced by transaction Tj (if any), then
in schedule S’ also transaction Ti must read the value of Q
that was produced by the same write(Q) operation of
transaction Tj .
3. The transaction (if any) that performs the final
write(Q) operation in schedule S must also perform the
final write(Q) operation in schedule S’.