In a distributed system, when two databases must be updated as part of a single transaction, which transaction management technique is most appropriate?

  • Isolation (I)
  • Optimistic Concurrency Control (OCC)
  • Pessimistic Concurrency Control (PCC)
  • Two-Phase Commit (2PC)
The Two-Phase Commit (2PC) is most appropriate for managing transactions in a distributed system involving updates to multiple databases, ensuring atomicity and consistency across the distributed environment.
Add your answer
Loading...

Leave a comment

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