What is a deadlock in the context of concurrency control?

  • A state where a database is locked for maintenance
  • A state where a transaction is unable to acquire the necessary locks to proceed
  • A state where transactions are executed in parallel without conflicts
  • A state where two or more transactions are waiting indefinitely for each other to release locks
A deadlock occurs when two or more transactions are waiting indefinitely for each other to release locks, leading to a situation where none of the transactions can proceed. Deadlocks must be resolved to allow the system to continue processing transactions.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *