Practice free →
HomeGATE CSEcomputerscienceDatabase Management Systems › Timestamp ordering is naturally deadlock-free be…

Timestamp ordering is naturally deadlock-free because

Ano transaction ever waits on a lock; conflicts produce aborts instead
Ball transactions are forced to run serially
Cevery item has at most one timestamp at any moment
Dthe optimiser detects cycles and removes them automatically
Answer & Solution
Correct answer: A. no transaction ever waits on a lock; conflicts produce aborts instead
Pure timestamp ordering has no notion of waiting on a lock. A conflict makes the late transaction abort rather than wait. With no waiting there can be no wait-for cycle, so no deadlock. Transactions can still run concurrently (option B is wrong); items have two timestamps (R-TS, W-TS), not one.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions