CS FundamentalsHardGATE CS

Under basic two-phase locking, which order of serial execution is a schedule conflict equivalent to?

  1. A. The order in which they started
  2. B. The order of their commit records
  3. C. The order of their lock points
  4. D. The order of their timestamps

Correct answer: C. The order of their lock points

In 2PL, if Ti's lock point precedes Tj's, every conflict between them goes from Ti to Tj, so ordering by lock point (when each takes its last lock) gives an equivalent serial schedule. Start order can differ; commit order equals it only under strict variants.

More DBMS and SQL questions

Exams that ask this topic