• +91 9723535972
  • info@interviewmaterial.com

DBMS Interview Questions and Answers

Question - Explain what is a deadlock and mention how it can be resolved?

Answer -

Deadlock is a situation which occurs when two transactions wait on a resource which is locked or other transaction holds.  Deadlocks can be prevented by making all the transactions acquire all the locks at the same instance of time. So, once deadlock occurs, the only way to cure is to abort one of the transactions and remove the partially completed work.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners