Question: Task 6 : Transactions a ) Give two reasons why we would want transactions in our DBMS in the first place. b ) Explain briefly
Task : Transactions
a Give two reasons why we would want transactions in our DBMS in the first place.
b Explain briefly the ACID properties for transactions.
c Determine the recovery property strict ACA, recoverable, unrecoverable for the
following histories:
: ; ; ; ; ; ; ;
: ; ; ; ; ; ; ; ; ;
: ; ; ; ; ; ; ;
d When are two operations in a schedule in conflict?
e Determine if the following schedule, conflict serializable by drawing the
precedence graph.
: ; ; ; ; ; ; ;
f What does it mean to have a deadlock between two or more transactions?
g We wish to rewrite such that it utilizes locks. Show how the schedule will look after
applying rigorous twophase locking. The new operations needed are rlA wlA
og ulA abbreviations for readlockA writelockA and unlockA
Remember that read locks can be shared, whereas write locks are exclusive.
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
