Uploaded by sheikhayshashahid

Quiz - 5 ( Transaction Managment )

advertisement
PAF - KIET
Database Management System
Quiz – 5
Issue Date : 6-Jan-2022
Q – given table is the example of lost update problem in concurrency control,
handle this problem using locking mechanism and recreate the table
time
t1
t2
t3
t4
t5
t6
T1
T2
read(bal)
read(bal)
bal=bal-10
wrtie(bal)
bal=bal+10
write(bal)
bal
100
100
100
90
90
110
Download