Question: Assume that your DBMS is using locking method for concurrency control that includes usage of exclusive / write lock ( X ) and shared /

Assume that your DBMS is using locking method for concurrency control that includes usage of exclusive/write lock(X) and shared/read lock(S) on its item to answer Q2.2-Q2.4
2. Assume that D,E,F are database items (variables) and that T1,T2,T3 are transactions ,Currently T1 has S lock on data item D, T2 has a S lock on data item F.T3 has a X lock on data item E. If T1 requests an exclusive lock on F, will it be successful and which operations can T1 perform on F?(2marks)
3. Assume that M, N are database items(variables) and that T1, T2 are transactions, Currently T1 has X lock on data item M, T2 has a S lock on data item N. If T2 requests a shared lock on M, will it be successful and which operations can T2 perform on M?(2marks)
4. Assume that D,E,F are database items (variables) and that T4,T5,T6 are transactions ,Currently T4 has S lock on data item D, T5 has a S lock on data item F.T6 has a X lock on data item E. T5 requests a shared lock on F, will it be successful and which operations can T1 perform on F?(2marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!