Question: In the following, when a transaction TT performs an operation x = x + ax = x + a , then TT reads xx into
In the following, when a transaction TT performs an operation xxaxxa then TT reads xx into some register, adds a to the register content then stores register content into xx
A transaction schedule is serializable if its effect is equivalent to that of some serial schedule. Consider a bookkeeping operation consisting of two transactions TT and TT that are required to keep the sum ABCABC unchanged. Which of the following pairs of transactions will always result in a serializable schedule? I. T : Lock A; A A ; Unlock A; B B ; T: Lock B; B B ; Unlock B; CC; II T : AA; Lock B; BB; Unlock B; T: Lock B; BB; Unlock B; CC ; III. T:Lock A; A A ; Unlock A; B B ; T: Lock A; B B ; Unlock A; CC; OPTIONS: I only
II only
III only
I and II
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
