Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
DBMS: SELF DOUBT .
Hirak
asked
in
Databases
Jun 10, 2019
449
views
0
votes
0
votes
Is basic 2 phase locking always recoverable?
databases
2phaselocking
two-phase-locking-protocol
Hirak
asked
in
Databases
Jun 10, 2019
by
Hirak
449
views
answer
comment
Follow
share this
share
2 Comments
by
prashant jha 1
commented
Jun 10, 2019
reply
Follow
share this
No , it's not always recoverable .
For an instance let's check this schedule.
T1 T2
w(a)
r(a)
w(a)
commit;
---failure
This schedule is allowed in Basic 2 phase locking , but this is not a recoverable schedule.
3
3
by
Hirak
commented
Jun 10, 2019
reply
Follow
share this
Thanks.. :)
1
1
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
0
votes
yes 2PL locking is always recoverable.
DIBAKAR MAJEE
answered
Apr 19, 2020
by
DIBAKAR MAJEE
comment
Follow
share this
1 comment
by
biswajitbora
commented
Jun 20, 2021
reply
Follow
share this
No it's not.
0
0
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
1
answer
1
Shivam Gupta 3
asked
in
Databases
Aug 3, 2017
494
views
DBMS: CONCURRENCY CONTROL 2 PHASE LOCKING PROTOCOL
T1: r1(x)w1(x)r1(y)w1(y) T2: r2(y)w2(y) L is xclusive lock and U is unlock L1(y)L1(X)R1(Y)W1(Y)R1(X)W1(X)U1(X)U1(Y)L2(Y)R2(Y)W2(Y)U2(Y)? IS THIS SCHEDULE VALID UNDER A 2 PHASE LOCKING SCHEDULER????
Shivam Gupta 3
asked
in
Databases
Aug 3, 2017
by
Shivam Gupta 3
494
views
2phaselocking
transaction-and-concurrency
databases
2
votes
2
votes
1
answer
2
vinay chauhan
asked
in
Databases
Jan 18, 2019
356
views
Self doubt, 2PL
Is different 2 phase locking a subset of each other? For example, if the schedule is Strict 2PL then it will also be simple 2PL. Something like a 2PL is a subset of Strict 2PL is a subset of rigorous 2PL.
vinay chauhan
asked
in
Databases
Jan 18, 2019
by
vinay chauhan
356
views
databases
2phaselocking
transaction-and-concurrency
concurrency
0
votes
0
votes
0
answers
3
anupamsworld
asked
in
Databases
Jul 26, 2022
146
views
Doubt
Does Conservative 2 Phase Locking Protocol ensures no Deadlock? Please describe your answer.
anupamsworld
asked
in
Databases
Jul 26, 2022
by
anupamsworld
146
views
databases
two-phase-locking-protocol
1
vote
1
vote
1
answer
4
aditi19
asked
in
Databases
Nov 25, 2018
312
views
2PL Doubt
T1: W(X), T2: R(Y), T1: R(Y), T2: R(X) does 2PL protocol allows it? T1 T2 L-X(X) W(X) L-S(Y) R(Y) U(X) L-S(Y) R(Y) L-S(X) R(X) here T2 is granted lock on X as T1 enters shrinking phase as no exclusive locks are held on X is my solution correct?
aditi19
asked
in
Databases
Nov 25, 2018
by
aditi19
312
views
databases
transaction-and-concurrency
2phaselocking
concurrency
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
GATE CSE 2023 Paper & Analysis - Memory Based
From GATE to Australia
DRDO Previous Year Papers
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(75)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
@Aakash_Bhardwaj all the best bro . For your...
What's the answer for keystroke question
Same,easy to moderate
I felt paper was very much like AIMT 3!!
very easy paper, I don't want to discuss paper...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy