C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
Conflict Serializable Schedule
Conflicting OperationsThe two operations become conflicting if all conditions satisfy:
Example:Swapping is possible only if S1 and S2 are logically equal. Here, S1 = S2. That means it is non-conflict. Here, S1 ≠ S2. That means it is conflict. Conflict EquivalentIn the conflict equivalent, one can be transformed to another by swapping non-conflicting operations. In the given example, S2 is conflict equivalent to S1 (S1 can be converted to S2 by swapping non-conflicting operations). Two schedules are said to be conflict equivalent if and only if:
Example:Schedule S2 is a serial schedule because, in this, all operations of T1 are performed before starting any operation of T2. Schedule S1 can be transformed into a serial schedule by swapping non-conflicting operations of S1. After swapping of non-conflict operations, the schedule S1 becomes:
Since, S1 is conflict serializable.
Next TopicDBMS View Serializability
|