Skip to content
GATEiit

GATE CSE 2019 Q21: Strict 2PL recoverability and Thomas' write rule view serializability

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

Select one option
Wrong answer costs 1/3 mark in GATE.
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.

Concept notes

Loading notes…

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

WhatsAppDownload image

Source: official GATE 2019 CS question paper and final answer key, organised by IIT Madras. Question paper · Answer key