GATE CSE 2019 Q21: Strict 2PL recoverability and Thomas' write rule view serializability
- Databases
- 1 mark
- MCQ
- −1/3 if wrong
Syllabus topic: Transactions and concurrency control
Question
Consider the following two statements about database transaction schedules:
I. Strict two-phase locking protocol generates conflict serializable schedules that are also recoverable.
II. Timestamp-ordering concurrency control protocol with Thomas' Write Rule can generate view serializable schedules that are not conflict serializable.
Which of the above statements is/are TRUE?
Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: C (official GATE 2019 final answer key)
Concept used: Strict 2PL holds exclusive locks until commit, giving conflict-serializable, recoverable (cascadeless) schedules; Thomas' write rule ignores obsolete writes, allowing view-serializable schedules with blind writes.
First step: Recall what strict 2PL adds to basic 2PL (when write locks are released), and what kind of schedule results when Thomas' write rule skips an outdated write.
Full step-by-step solution
Loading…
Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.
More questions on Transactions and concurrency control
Every PYQ on this topic →Share this question
Source: official GATE 2019 CS question paper and final answer key, organised by IIT Madras. Question paper · Answer key
More Databases PYQs
- 2026 Session 1 · Q30Which functional dependency inferences always hold
- 2026 Session 1 · Q31Dependency-preserving decompositions for 1NF, 2NF, 3NF, BCNF
- 2026 Session 1 · Q43Relational algebra equivalent of a tuple calculus join query
- 2026 Session 1 · Q65Number of superkeys with candidate keys {A,B} and {A,C}
- 2026 Session 2 · Q15Match DBMS schema levels with what they describe
- 2026 Session 2 · Q20When two transactions do not conflict on a data item