>
Exams
>
Computer Science and IT Engineering
>
Database Management Systems
>
in two phase locking 2pl a transaction must be
Question:
In two-phase locking (2PL), a transaction must be _______ .
Show Hint
The two-phase locking protocol ensures serializability and prevents deadlocks by enforcing a strict order in acquiring and releasing locks.
AP PGECET - 2025
AP PGECET
Updated On:
Jun 16, 2025
Release all locks before acquiring new ones
Acquire all locks before releasing any
Use only shared locks
Avoid deadlocks by timeouts
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
Two-phase locking protocol requires that a transaction must acquire all locks before releasing any. This ensures that the transaction follows the "growing phase" and "shrinking phase," which are essential for preventing deadlocks.
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Database Management Systems
Varun is the owner of New Trends Fashion Company that deals in garments. He wants to make a Database Application for his company. Suggest any six possible entities that can be used in the database for his website.
CBSE CLASS XII - 2025
Information Technology
Database Management Systems
View Solution
List any two ways in which database application is used in the Banking Sector.
CBSE CLASS XII - 2025
Information Technology
Database Management Systems
View Solution
Write any two characteristics of Database Management System.
CBSE CLASS XII - 2025
Information Technology
Database Management Systems
View Solution
Rashmi is not able to leave a blank in the Salary column of the Employee table. Which constraint is applied on the field Salary?
CBSE CLASS XII - 2025
Information Technology
Database Management Systems
View Solution
Out of many types of DBMS users, ................ is responsible to determine the requirements of the end users and then develop specifications to meet the requirements.
CBSE CLASS XII - 2025
Information Technology
Database Management Systems
View Solution
View More Questions
Questions Asked in AP PGECET exam
The multiple access method used in Global Positioning Systems is ________.
AP PGECET - 2025
Digital Electronics and Logic Gates
View Solution
National Remote Sensing Day is celebrated on ________ every year.
AP PGECET - 2025
Remote Sensor
View Solution
SDI stands for
AP PGECET - 2025
Remote Sensor
View Solution
Suppose \( R_1 \) and \( R_2 \) are reflexive relations on a set \( A \). Which of the following statements is correct?
AP PGECET - 2025
Set Theory
View Solution
Determine the value of $\lambda$ and $\mu$ for which the system of equations
$x + 2y + z = 6$,
$x + 4y + 3z = 10$,
$2x + 4y + \lambda z = \mu$
has a unique solution.
AP PGECET - 2025
Linear Algebra
View Solution
View More Questions