Question: Give an example to show that if transactions do not follow two-phase locking protocol, then it is possible to have non-serializable schedules. For example, give
Give an example to show that if transactions do not follow two-phase locking protocol, then it is possible to have non-serializable schedules. For example, give a schedule with 2 transactions that do not follow two-phase locking, such that the schedule is not serializable. Make the example as simple as you possibly can. Show the lock and unlock operations in the schedule. Justify your answer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
