Describe two phases of Two-phase commit ?

Answers were Sorted based on User's Feedback



Describe two phases of Two-phase commit ?..

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

Describe two phases of Two-phase commit ?..

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

Post New Answer

More Database Management Interview Questions

What is database join?

0 Answers  


What is a functional dependency in the dbms?

0 Answers  


Which factors does not affect the size of the SGA ?

3 Answers   TCS,


What is data redundancy in dbms?

0 Answers  


How do queries work in a database?

0 Answers  






What is a Federated Query ?

0 Answers   MCN Solutions,


What is normalisation and its type?

0 Answers  


What is the difference between delete and truncate command in dbms?

0 Answers  


What is bcnf?

0 Answers  


Why are databases so important?

0 Answers  


What are 3 types of databases?

0 Answers  


What are the advantages of operating a database in ARCHIVELOG mode over operating it in NO ARCHIVELOG mode ?

2 Answers  


Categories