Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is Two-Phase Commit ?

Answer Posted / syed sohel

The 2PC protocol is so named because it employs the
following two phases prior to committing the operation
performed:

* Phase 1—Prepare. In this phase, each of the programs
involved in the transaction sends a message to the TP
Manager, such as Microsoft Distributed Transaction
Coordinator (MS DTC), informing the TP Manager that it is
ready to and capable of performing its part of the
operation. This phase is also known as prepare because the
programs are prepared either to commit the changes or
rollback the changes. If the TP Manager receives
confirmation from each of the programs involved, it proceeds
to phase 2.
* Phase 2—Commit or Rollback. In this phase, the TP
Manager instructs each of the programs to commit or rollback
all of the changes that were requested as part of the
transaction. A properly executed rollback should return the
system to its original state.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is this statement true or false? All databases must be in third normal form?

993


How to detect applications and users that hold transactions open too long?

903


How to prevent concurrent access to my data?

1034


What is dbms_output put_line?

910


for what purpose we use MDM(master data management)tell me plz.

4179


What are the different types of DBMS architecture?

1081


What are the importance of database in banking?

985


What do you understand by fragmentation?

917


Explain degree of a relation?

908


Explain a tp monitor?

971


What is the concept of sub-query in terms of sql?

961


How to find the size of database?

1039


Explain the terms database and dbms. Also, mention the different types of dbms.

908


What is database management system(dbms) and why it is used?

1016


Why do we need database normalization?

1004