Machine-translated by Google. Questions are authored in English.
Top

Discussion

Locking may cause which of the following problems?

  • A.Erroneous updates
  • B.Deadlock
  • C.Versioning
  • D.All of the above.

Answer: B

Correct answer: Deadlock

Locking prevents interference but creates the possibility of deadlock - each transaction waiting for a lock another holds, in a circle. The system must therefore detect deadlocks and break them by rolling a transaction back, which is the price paid for the safety locking gives.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.