Describe two phases of Two-phase commit ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by database management system?

481


What are database data types?

505


What do you understand by fragmentation?

519


What are the four components of a database system?

414


Which is the best database?

500






Which database is faster?

481


What are the types of database?

471


Is dynamodb a document database?

495


What is 2-tier architecture?

493


Explain meant by 3-tier architecture?

519


Are databases stored on servers?

538


What are the three types of databases?

472


Explain Enterprise Resource Planning (ERP), and what sort of a database is utilised in an ERP application?

569


Can you explain fourth normal form and fifth normal form ?

490


What are the advantages of using Query Strings?

609