Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions

Question

2. How were various roles filled?

Answered: 1 week ago