Selecting the victim to be rollbacked to the previous state is determined by the minimum cost. The factors determining cost of rollback is
(a) How long the transaction has computed, and how much longer the transaction will compute before it completes its designated task
(b) How many data items the transaction has used
(c) How many more data items the transaction needs for it to complete
(d) All of the mentioned
I got this question by my school teacher while I was bunking the class.
I would like to ask this question from Deadlocks topic in portion Concurrency Control of Database Management