What is a cascade less schedule? Why is cascadelessness of schedules desirable? Are there any circumstances under which it would be desirable to allow non-cascadeless schedules? Explain your answer.
Answer to relevant QuestionsConsider the following two transactions:T31: read (A); read (B);If A = 0 then B: = B + 1; write (B).T32: read (B); read (A);If B = 0 then A: = A + 1; write (A).Add lock and unlock instructions to transactions T31 and T32, so ...Show by example that there are schedules possible under the tree protocol that is not possible under the two-phase locking protocol, and vice versa.When a transaction is rolled back under timestamp ordering, it is assigned a new timestamp. Why can it not simply keep its old timestamp?Under what conditions is it less expensive to avoid deadlock than to allow deadlocks to occur and then to detect them?Explain the purpose of the checkpoint mechanism. How often should checkpoints be performed? How does the frequency of checkpoints affect• System performance when no failure occurs• The time it takes to recover from a ...
Post your question