Question
Consider a database system holding the records shown below that implements hierarchical multiple granularity locking protocol. Suppose transaction TO acquired locks on DB, A0
Consider a database system holding the records shown below that implements hierarchical multiple granularity locking protocol. Suppose transaction TO acquired locks on DB, A0 and F1 as shown in Figure 4. For each of the following trans- actions, indicate what kind of locks on which tree node it can acquire or not. Justify your answer. T Fo T T (a) Read(T5) (b) Write(T2) (c) Add a new tree node A2 under DB. (d) Read (DB) and Write(A1) DB To(IX) Ao To(IX) F To(x) T4 Ts Figure 4: Granularity Hierarchy A T6
Step by Step Solution
3.57 Rating (154 Votes )
There are 3 Steps involved in it
Step: 1
a ReadT5 T5 can acquire an S lock on DB AO and F1 since To has already acquired S locks on these nod...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Database management systems
Authors: Raghu Ramakrishan, Johannes Gehrke, Scott Selikoff
3rd edition
72465638, 978-0072465631
Students also viewed these Accounting questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App