Oracle Distributed Processing Question:

Describe two phases of Oracle Two-phase commit?

Distributed Processing Interview Question
Distributed Processing Interview Question

Answer:

Prepare phase - The global coordinator (initiating node) ask a participants to prepare (to promise to commit or rollback the transaction, even if there is a failure) Commit - Phase - If all participants respond to the coordinator that they are prepared, the coordinator asks all nodes to commit the transaction, if all participants cannot prepare, the coordinator asks all nodes to roll back the transaction.


Previous QuestionNext Question
What is an oracle SNAPSHOT?What is Oracle Distributed database?