Question 3: Assume that A, B, C, D, and E are data items, and that T1, T2, T3, T4, T5, and T6 are transactions. Assume that your DBMS is using shared/exclusive locks for concurrency control. Currently T1 has an exclusive lock on data item A, and T2 has a shared lock on data item C. All Use your knowledge in other data items are currently unlocked. concurrency control to answer the following questions. [around 6 minutes] Case (a) Consider the operations Read and Write. Which of these can T1 do it to A, given its lock (read, write, neither read nor write, or both read and write)? (b)Consider the operations Read and Write. Which of these can T2 do it to C, given its lock (read, write, neither read nor write, or both read and write)? (c) T3 requests an exclusive lock on D. Will T3 obtain the lock. at this point, or will T3 have to wait? (d) T4 requests a shared lock on C. Will T4 obtain the lock at this point, or will T4 have to wait? Answer

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Need on urgent basis plz fast
Question 3: Assume that A, B, C, D, and E are data items, and that T1, T2,
T3, T4, T5, and T6 are transactions. Assume that your DBMS is using
shared/exclusive locks for concurrency control. Currently T1 has an
exclusive lock on data item A, and T2 has a shared lock on data item C. All
Use your knowledge in
other data items are currently unlocked.
concurrency control to answer the following questions.
[around 6 minutes]
Case
(a) Consider the operations Read and Write. Which of these can
T1 do it to A, given its lock (read, write, neither read nor write,
or both read and write)?
(b)Consider the operations Read and Write. Which of these
can T2 do it to C, given its lock (read, write, neither read nor
write, or both read and write)?
(c) T3 requests an exclusive lock on D. Will T3 obtain the lock
at this point, or will T3 have to wait?
(d)T4 requests a shared lock on C. Will T4 obtain the lock at
this point, or will T4 have to wait?
Answer
Transcribed Image Text:Question 3: Assume that A, B, C, D, and E are data items, and that T1, T2, T3, T4, T5, and T6 are transactions. Assume that your DBMS is using shared/exclusive locks for concurrency control. Currently T1 has an exclusive lock on data item A, and T2 has a shared lock on data item C. All Use your knowledge in other data items are currently unlocked. concurrency control to answer the following questions. [around 6 minutes] Case (a) Consider the operations Read and Write. Which of these can T1 do it to A, given its lock (read, write, neither read nor write, or both read and write)? (b)Consider the operations Read and Write. Which of these can T2 do it to C, given its lock (read, write, neither read nor write, or both read and write)? (c) T3 requests an exclusive lock on D. Will T3 obtain the lock at this point, or will T3 have to wait? (d)T4 requests a shared lock on C. Will T4 obtain the lock at this point, or will T4 have to wait? Answer
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Concurrency control
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education