answersLogoWhite

0

Check on this link for answer :

http://www.hypergurl.com/blog/databases/two-phase-protocol.html

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Physics

What is the difference between two phase commit and three phase commit in distributed system?

In computer networking and databases, the three-phase commit protocol (3PC)[1] is a distributed algorithm which lets all nodes in adistributed system agree to commit a transaction. Unlike the two-phase commit protocol (2PC) however, 3PC is non-blocking. Specifically, 3PC places an upper bound on the amount of time required before a transaction either commits or aborts. This property ensures that if a given transaction is attempting to commit via 3PC and holds some resource locks, it will release the locks after the timeout.3PC was originally described by Dale Skeen and Michael Stonebraker in their paper, "A Formal Model of Crash Recovery in a Distributed System"[1]. In that work, they modeled 2PC as a system of non-deterministic finite state automata and proved that it is not resilient to a random single site failure. The basic observation is that in 2PC, while one site is in the "prepared to commit" state, the other may be in either the "commit" or the "abort" state. From this analysis, they developed 3PC to avoid such states and it is thus resilient to such failures.


What is the next step after pulling?

The next step after pulling is typically to commit the changes to your local repository with a commit message describing the changes made. This allows you to track the history of your changes and collaborate with others effectively.


What is the difference between fault and blame?

Fault is technical. Blame is culpability. If I accidental commit a crime (such as fail to scan 3 items at the store check out and only scan 2) I am technically stealing, and at fault. But I'm not to blame, it was an accident. Not sure if the law makes a legal differential often though.


You are going to change direction therefore you must?

To change direction, you need to assess your current position, identify where you want to go, make a plan of action, and then commit to taking steps towards the new direction. It's important to stay focused, determined, and adaptable as you navigate the change in direction.


How do weapons relate to violense?

Weapons can be used as tools to inflict harm and violence, making it easier for individuals to cause harm to others. The availability and type of weapons can also influence the level and severity of violence that can occur in a given situation. However, the decision to use a weapon to commit violence ultimately depends on the intent and actions of the individuals involved.

Related Questions

What is the difference between an undertaking and intentions?

Intending is when you hope to do something and undertaking is when you commit to something


Difference between roll back and commit in sql?

in sql commit is used for saving the changes made in database and roll back is to roll back them , changes will not get saved in the database


What is the difference between solicitation and conspiracy?

To solicit, means you are trying to get someone to commit a crime. Conspiricy means you and at least 2 other people agree to commit a crime, and then do something to move the crime foward.


What is the difference between married women and unmarried women?

Married women have someone they say they are committed to for life, while unmarried women are still searching for someone to marry or refuse to commit to anyone for a long period of time by choice.


Difference between criminal act and an act of delinquency?

the differnce between a criminal act and a delinquency act in school violance


What is the future tense of commit?

am going to commit


What is the difference between two phase commit and three phase commit in distributed system?

In computer networking and databases, the three-phase commit protocol (3PC)[1] is a distributed algorithm which lets all nodes in adistributed system agree to commit a transaction. Unlike the two-phase commit protocol (2PC) however, 3PC is non-blocking. Specifically, 3PC places an upper bound on the amount of time required before a transaction either commits or aborts. This property ensures that if a given transaction is attempting to commit via 3PC and holds some resource locks, it will release the locks after the timeout.3PC was originally described by Dale Skeen and Michael Stonebraker in their paper, "A Formal Model of Crash Recovery in a Distributed System"[1]. In that work, they modeled 2PC as a system of non-deterministic finite state automata and proved that it is not resilient to a random single site failure. The basic observation is that in 2PC, while one site is in the "prepared to commit" state, the other may be in either the "commit" or the "abort" state. From this analysis, they developed 3PC to avoid such states and it is thus resilient to such failures.


Is commit a verb?

yes commit is a verb :) I commit this answer.


What is the difference between the act of murder and the intention of murder?

It is possible to commit the act of murder against someone without having had the INTENT to do so when you first confronted each other. However, if you went to the location KNOWING IN ADVANCE that you were going to kill him.... THAT is Intent.


What is the difference between trespassing and criminal trespassing?

Trespassing is entering someone's property without permission, while criminal trespassing involves knowingly entering or remaining on someone's property after being told to leave or doing so with the intent to commit a crime.


What is the base word of commit?

The base word of "commit" is "commit."


What is the difference between unruly juvenile and delinquent juvenile?

A delinquent child can commit a crime that's illegal for someone over 18 (Ex: Murder) while an unruly juvenile commits a crime that's not illegal for someone over 18 (Ex: Smoking)