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

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...

File Handling in Python - Basic Concept
File (Flat) Handling in Python Types of files in python: 1: Text file: Stores data in the form of characters. Customarily used to store text/string data. 2: Binary file: Stores data in the form of bytes....

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...

How to Become a Self Made Digital Marketing Expert?
Applying Digital Marketing on a Small Scale Choose a topic you are passionate about and start a blog about it. Cost: Approx $50 per year for domain and hosting. Learn a little about SEO and write SEO...

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...
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