Database Concepts (8th Edition)
Database Concepts (8th Edition)
8th Edition
ISBN: 9780134601533
Author: David M. Kroenke, David J. Auer, Scott L. Vandenberg, Robert C. Yoder
Publisher: PEARSON
Question
Book Icon
Chapter 6, Problem 6.16RQ
Program Plan Intro

Two-phase locking:

The process in which the locks are acquired during the growing phase and released in a shrinking phase is called two-phase locking.

  • Serializability is the process of processing concurrent transaction which can be achieved through one of the number of different means.
  • One way of achieving serializability is two-phase locking.
  • Using this strategy, locks can be applied on transactions. When one of the locks is released first, no other locks can be applied on that particular transaction.
  • It prevents deadlock which occurs in distributed system.

Blurred answer
Students have asked these similar questions
How does releasing all locks at the end of a transaction relate to two-phase locking?
The recurring transaction type that generates an alert when we should use a recurring transaction to enter a new transaction is
What is the relationship between releasing all locks at the end of a transaction and two-phase locking?
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Cengage Learning
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning