Explanation:Rollback is used to rollback to the point before lock is obtained. 3. What are the ways of dealing with deadlock ?
A. Deadlock prevention
B. Deadlock recovery
C. Deadlock detection
D. All of the mentioned
Answer:A
Explanation:Rollback is used to rollback to the point before lock is obtained. 3. What are the ways of dealing with deadlock ?
A. Deadlock prevention B. Deadlock recovery C. Deadlock detection D. All of the mentioned
Explanation:Deadlock prevention is also called as deadlock recovery.Prevention is commonly used if the probability that the system would enter a deadlock state is relatively high; otherwise, detection and recovery are more efficient. 4. 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). This is