Describe two phases of Two-phase commit ?
Answers were Sorted based on User's Feedback
Answer / guest
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.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nishi
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.
Is This Answer Correct ? | 0 Yes | 0 No |
What is database join?
What is a functional dependency in the dbms?
Which factors does not affect the size of the SGA ?
What is data redundancy in dbms?
How do queries work in a database?
What is a Federated Query ?
What is normalisation and its type?
What is the difference between delete and truncate command in dbms?
What is bcnf?
Why are databases so important?
What are 3 types of databases?
What are the advantages of operating a database in ARCHIVELOG mode over operating it in NO ARCHIVELOG mode ?