Consider a multi-granularity locking system, with lock modes S, X, IS, IX, and SIX as in lecture and database-level, file-level, page-level and record-level locking as shown in the following figure ( picture bellow ) I want to get "T3 want to read all pages in F1 and modify about 10 pages, which can be identified only after reading F1.

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

Consider a multi-granularity locking system, with lock modes S, X, IS, IX, and SIX as in lecture and database-level, file-level, page-level and record-level locking as shown in the following figure ( picture bellow )

I want to get "T3 want to read all pages in F1 and modify about 10 pages, which can be identified
only after reading F1."

Consider a multi-granularity locking system, with lock modes S, X, IS, IX, and SIX
as in lecture and database-level, file-level, page-level and record-level locking as
shown in the following figure.
R₁
P1
R100
P1000
R₁
DB
R100 R₁
P1001
F2
R100
P2000
R₁
R100
IX
IS
IS ✓✓
IX
S
✓
X
✓
SIX ✓
X
<
X
4. Can transactions T1 andT3 mentioned above execute concurrently?
X
X
S
<
X
✓
X
X X
SIX X
✓ X
x
X
Provide the sequence of lock requests required to perform the following transactions
and write necessary complete Lock and Unlock operations in their correct order.
X
...……….…....
X
3. T3 want to read all pages in F1 and modify about 10 pages, which can be identified
only after reading F1.
X
Transcribed Image Text:Consider a multi-granularity locking system, with lock modes S, X, IS, IX, and SIX as in lecture and database-level, file-level, page-level and record-level locking as shown in the following figure. R₁ P1 R100 P1000 R₁ DB R100 R₁ P1001 F2 R100 P2000 R₁ R100 IX IS IS ✓✓ IX S ✓ X ✓ SIX ✓ X < X 4. Can transactions T1 andT3 mentioned above execute concurrently? X X S < X ✓ X X X SIX X ✓ X x X Provide the sequence of lock requests required to perform the following transactions and write necessary complete Lock and Unlock operations in their correct order. X ...……….….... X 3. T3 want to read all pages in F1 and modify about 10 pages, which can be identified only after reading F1. X
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Data Recovery Approaches
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