Practice free →
HomeGATE CSEcomputerscienceDatabase Management Systems › If a DBMS using detection-then-abort keeps selec…

If a DBMS using detection-then-abort keeps selecting the same transaction as victim, the problem that arises is

Adeadlocks become unbounded in number
Bstarvation: same transaction aborted repeatedly
Cthe wait-for graph stops being directed
Dlock compatibility breaks down
Answer & Solution
Correct answer: B. starvation: same transaction aborted repeatedly
Starvation: that transaction never completes because every cycle gets resolved by aborting it. DBMSs track victim counts and rotate victim selection to give starving transactions a turn. Deadlock count, graph direction, and compatibility are not affected by victim selection.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions