answersLogoWhite

0


Best Answer

In two phase locking there are two phases. The first phase is known as Expanding Phase and locks are issued in this phase. No lock is released. Then after change all changes are committed and the second phase starts that is the Shrinking Phase in which all the changes are noted and the locks are released. No locks are issued in this phase

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is two phase protocol in a dbms?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Advantages of two phase locking protocol?

Two Phase locking protocol prevent deadlock. This protocol maintain the schedule which lock should be granted or not. For more information I think this link help you. http://www.databaseidea.com/2012/03/two-phase-locking-protocol.html


What is 2pc protocol?

The 2-phase commit (2PC) protocol is a distributed algorithm to ensure the consistent termination of a transaction in a distributed environment. Thus, via 2PC an unanimous decision is reached and enforced among multiple participating servers whether to commit or abort a given transaction, thereby guaranteeing atomicity. The protocol proceeds in two phases, namely the prepare (or voting) and the commit (or decision) phase, which explains the protocol's name.


Explain the strict two-phase locking protocal in dbms?

The strict two-phase locking (S2PL) class of schedules is the intersection of the 2PL class with the class of schedules possessing the Strictness property. To comply with the S2PL protocol a transaction needs to comply with 2PL, and release its write (exclusive) locks only after it has ended, i.e., being either committed or aborted. On the other hand, read (shared) locks are released regularly during phase 2. Implementing general S2PL requires explicit support of phase-1 end, separate from transaction end, and no such widely utilized product implementation is known. S2PL is a special case of 2PL, i.e., the S2PL class is a proper subclass of 2PL


What are the advantages of two phase locking?

--guarantees serializability --The protocol utilizes locks that block other transactions from accessing the same data during a transaction's life. by Raja Done M.Tech


Name two of dominate DBMS vendors and their latest products please specify in which way they are the dominating DBMS vendor?

oracle, Microsoft, SyBase and oracle.


What are highlights of DBMS?

NA_ what are highlights of advanced DBMS what are highlights of advanced DBMS what are highlights of advanced DBMS


Two phase instruments?

There is no such thing as a two phase instrument. There is only single phase and three phase. You can only have: single phase/ one pole single phase/ two pole three phase/ three pole


Is java DBMS?

no, Java is not dbms.. Java is a programming language Dbms is database


Is SQL DBMS or RDBMS?

dbms


What are some of the companies that offer a protocol analyzer?

Some of the companies that offer a protocol analyzer include Teledyne LeCroy, Ellisys, MQP Electronics, NitAl Consulting Services, Total Phase, and Saniffer.


What are three types of dbms?

Three types of DBMS (Database Management Systems) include relational DBMS, object-oriented DBMS, and NoSQL DBMS. Relational DBMS organizes data into tables with rows and columns, object-oriented DBMS stores data as objects and classes, and NoSQL DBMS handles unstructured and semi-structured data with flexible schemas.


List two examples of a routed protocol besides Internet Protocol.?

IPX/SPXAppletalk