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

Discussion

The purpose of timestamping is to avoid the use of locks.

  • A.True
  • B.False

Answer: A

Correct answer: True

Timestamping assigns each transaction an order in advance and resolves conflicts by that order, so no transaction has to wait for a lock. This removes deadlock entirely, which is a substantial gain in a distributed system where detecting a deadlock spanning several sites is difficult. The cost is that a transaction found to be out of order must be restarted.

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

Post your comment

Please log in or register to post a comment.