sid_19840
International Coach
Im sure that there is someone here who know's DBMS.Im really confused with this entry in wikipedia,mainly about conflict and view serializability.Could someone please explain what this mean's.Thanks in advance.
This is taken from this link.
http://en.wikipedia.org/wiki/Schedule_(computer_science)#Conflict_Serializable
This is taken from this link.
http://en.wikipedia.org/wiki/Schedule_(computer_science)#Conflict_Serializable
Code:
Conflict equivalence
The schedules T1 and T2 are said to be conflict-equivalent if the following conditions are satisfied:
1. Both schedules T1 and T2 involve the same set of actions in the same set of transactions. (informally speaking, both schedules are containing and working on the same thing)
2. The order of each pair of conflicting actions in T1 and T2 are the same.
Code:
View equivalence
Two schedules S1 and S2 are said to be view-equivalent when the following conditions are satisfied:
1. If the transaction Ti in S1 reads an initial value for object X, so does the transaction Ti in S2.
2. If the transaction Ti in S1 reads the value written by transaction Tj in S1 for object X, so does the transaction Ti in S2.
3. If the transaction Ti in S1 is the final transaction to write the value for an object X, so does the transaction Ti in S2.