1.

State true or false: Wait die scheme is a non-preemptive technique(a) True(b) FalseThis question was posed to me in an online interview.The doubt is from Deadlock Handling topic in chapter Concurrency Control of RDBMS

Answer»

Right answer is (a) True

To EXPLAIN: The wait-die scheme is a non-preemptive technique. When transaction Ti requests a data item currently held by Tj , Ti is allowed to wait only if it has a TIMESTAMP SMALLER than that of Tj (that is, Ti is OLDER than Tj ). Otherwise, Ti is rolled BACK (dies).



Discussion

No Comment Found

Related InterviewSolutions