UrbanPro
true

Take BTech Tuition from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

DBMS

Arijit Dutta
29/05/2018 0 0


2Phase Lock in Distributed Database:

In this protocol, it is required that all the data items must be reached in a mutually independent manner, i.e. when one transaction is performing, then no other transaction should interrupt the process.

It requires both locks and unlocks being done in two phases:

  • Growing Phase: Obtain locks that means when we are writing something on A and B, then we will take locks on A and B like below: W(A) and W(B)
  • Shrinking Phase: Release locks, Unlock the objects in a row like unlock (A) and unlock (B)

But 2 PL won’t be able to solve other problems such as cascading rollback.

0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

Topic - Operators in Python: Ternary Operator & their use with suitable example
Question: What is a ternary operator in Python? Explain with example. Answer: A ternary operator in Python is a shorthand way to perform a simple conditional operation, allowing you to return one of two...

Explain The Working Of JVM
1. when we execute the java file, JVM is loaded into memory.2. In JVM, first class loader starts which loads the class into memory, i.e. it divides the code intoRuntime Memory Area.3. Runtime memory consists...

Hashing Techniques
I. Hashing: 1. Hash Table Representation: Hash table is a data structure used for storing and retrieving data very quickly. Insertion of data in the hash table is based on the key value. Hence every...

Learning Computer Science
In many of the IT and Computer science formal courses, I have observed many of the topics are taught as independent unrelated threads. In order to get a deeper insight of the computer science, it is very...

Difference between System Software and Application Software
The software is the virtual component of the computer through which we are doing our work. The software is classified as System software and Application Software. System Software provides the platform...
X

Looking for BTech Tuition Classes?

The best tutors for BTech Tuition Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Take BTech Tuition with the Best Tutors

The best Tutors for BTech Tuition Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more