Selecting the victim to be rollbacked to the previous state is determined by the minimum cost. The factors determining cost of rollback is
- How long the transaction has computed, and how much longer the transaction will compute before it completes its designated task.
- How many data items the transaction has used.
- How many more data items the transaction needs for it to complete and how many transactions will be involved in the rollback.
- All of the above