Consider the following schedules:
S1:
| T1 | T2 | T3 |
| R(X) | ||
| R(X) | ||
| R(Y) | ||
| R(Z) | ||
| W(Y) | ||
| W(Z) | ||
| W(Z) | ||
| W(X) |
S2:
| T1 | T2 | T3 |
| R(X) | ||
| R(Y) | ||
| R(Y) | ||
| W(X) | ||
| W(Y) | ||
| W(Y) | ||
| R(Y) | ||
| W(Y) |
Which of the given schedules is/are conflict serializable?
1
Only S1
2
Only S2
3
Both S1 and S2
4
Neither S1 nor S2