Describe two phases of Two-phase commit ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of queries in a database?

543


Explain some of the uses of openedge architect features useful for a developer?

472


What are foreign keys in database?

492


Where is the database stored?

484


Is file system a database?

483






Explain the different types of languages that are available in the dbms?

499


What is sql in dbms?

512


How do you call a stored procedure from jdbc?

527


What is a checkpoint in dbms and when does it occur?

565


What is built_in Subprogram ?

2612


How do I create a database in open office?

513


What are the 4 types of database?

554


What is data sublanguage?

535


What are the parts of a table?

489


Which software is best for database?

473