adplus-dvertising
frame-decoration

Question

How do we generally recover from a deadlock?

a.

By aborting all the transactions

b.

By rolling back all the transactions

c.

By rolling back only a selected number of transactions

d.

None of the mentioned

Posted under DBMS

Answer: (c).By rolling back only a selected number of transactions

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How do we generally recover from a deadlock?

Similar Questions

Discover Related MCQs

Q. State true or false: Partial rollback is not possible.

Q. Which of the following steps must be taken while choosing a victim?

Q. Which of the following cannot be used to implement a timestamp

Q. A logical counter is _________ after a new timestamp has been assigned

Q. W-timestamp(Q) denotes?

Q. R-timestamp(Q) denotes?

Q. A ________ ensures that any conflicting read and write operations are executed in timestamp order

Q. The default timestamp ordering protocol generates schedules that are

Q. State true or false: The Thomas write rule has a greater potential concurrency than the timestamp ordering protocol

Q. Which of the following timestamp based protocols generates serializable schedules?

Q. In timestamp ordering protocol, suppose that the transaction Ti issues read(Q) and TS(Ti)<W-timestamp(Q), then

Q. In timestamp ordering protocol, suppose that the transaction Ti issues write(Q) and TS(Ti)<W-timestamp(Q), then

Q. The _________ requires each transaction executes in two or three different phases in its lifetime

Q. During __________ phase, the system reads data and stores them in variables local to the transaction.

Q. During the _________ phase the validation test is applied to the transaction

Q. During the _______ phase, the local variables that hold the write operations are copied to the database

Q. Read only operations omit the _______ phase

Q. Which of the following timestamp is used to record the time at which the transaction started execution?

Q. Which of the following timestamps is used to record the time when a transaction has finished its read phase?

Q. Which of the following timestamps is used to record the time when a database has completed its write operation?