DBMS Quiz4
DBMS Quiz4
DBMS Quiz4
24 April 2023
1. Consider the following schedule where. for clarity. I have incuded all the
operations that will appear in the log, plhus additional helpful detail. As
sume that all transactions get the locks exactly before the
release then1 afterwards. operation and
T1STARTS
T1 reads item B
T1 writes item B with old value 11, newT value 12
T2 STARTS
T2 reads item B
T2 writes item Bwith old value 12, new value 13
T3 STARTS
T3 reads item A
T3 writes item A with old value 29, new value 30
T2 reads item A
T2 writes item A with old value 30, new value 31
T2 COMMITS
Tl rcads item D
T1 writes item D with old value 44, liew value 45
T3 COMMITS
TI COMMITS