Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged 2phaselocking
0
votes
0
answers
1
Subject : Databse Topic: 2pl locking protocol..... If the given schedule is allowed under any 2pl( basic 2pl,strict or rigorous) then it is also allowed in conflict serializble , so if the schedule which is allowed in conflict serializable then also we can say it will be allowed in 2pl?
Ashutosh_17
307
views
Ashutosh_17
asked
Mar 28, 2023
Databases
databases
2phaselocking
+
–
0
votes
0
answers
2
concurrency control
question about concurrency control methods
question about concurrency control methods
jayadev
357
views
jayadev
asked
Jul 2, 2022
Databases
transaction-and-concurrency
databases
concurrency
2phaselocking
+
–
1
votes
1
answer
3
2 Phase Locking | Made Easy Test Series
Given Problem : S1 can be shown allowed under 2PL. However, the solution that they have provided for S2 : Seems wrong, as So, is S2 allowed under 2PL, or the answer given is incorrect?
Given Problem : S1 can be shown allowed under 2PL.However, the solution that they have provided for S2 : Seems wrong, as So, is S2 allowed under 2PL, or the answer give...
palashbehra5
1.0k
views
palashbehra5
asked
Jan 17, 2022
Databases
databases
transaction-and-concurrency
2phaselocking
serializability
+
–
0
votes
1
answer
4
2PL | Made Easy Full Syllabus Test
Given problem and solution. It is true that the given schedule is not serializable, what I don't understand is how it is not allowed by the 2PL protocol? Given Schedule : T1 T2 T3 R(A) R(A) R(B) W(B) W(A) R(A) Under 2PL : T1 T3 T3 S(A) R(A) S(A) R(A) S(B) R(B) X(B) W(B) Lock Point U(B) X(A) W(A) Lock Point U(A) S(A) Lock Point U(A)
Given problem and solution. It is true that the given schedule is not serializable, what I don't understand is how it is not allowed by the 2PL protocol?Given Schedule : ...
palashbehra5
784
views
palashbehra5
asked
Jan 13, 2022
Databases
2phaselocking
made-easy-test-series
+
–
0
votes
1
answer
5
DBMS: SELF DOUBT .
Is basic 2 phase locking always recoverable?
Is basic 2 phase locking always recoverable?
Hirak
588
views
Hirak
asked
Jun 10, 2019
Databases
databases
2phaselocking
two-phase-locking-protocol
+
–
2
votes
0
answers
6
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.
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...
vinay chauhan
601
views
vinay chauhan
asked
Jan 18, 2019
Databases
databases
2phaselocking
transaction-and-concurrency
concurrency
+
–
0
votes
0
answers
7
GA Test series
pls explain why C is correct not A? isn’t every schedule that is supported by 2PL conflict serializable?
pls explain why C is correct not A?isn’t every schedule that is supported by 2PL conflict serializable?
aditi19
344
views
aditi19
asked
Dec 8, 2018
Databases
test-series
2phaselocking
transaction-and-concurrency
concurrency
+
–
1
votes
0
answers
8
2 Phase Locking
is it supported by 2PL?
is it supported by 2PL?
aditi19
595
views
aditi19
asked
Dec 8, 2018
Databases
databases
transaction-and-concurrency
2phaselocking
concurrency
conflict-serializable
+
–
1
votes
1
answer
9
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?
T1: W(X), T2: R(Y), T1: R(Y), T2: R(X)does 2PL protocol allows it? T1 T2L-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 sh...
aditi19
456
views
aditi19
asked
Nov 25, 2018
Databases
databases
transaction-and-concurrency
2phaselocking
concurrency
+
–
0
votes
3
answers
10
is conservative 2PL is recoverable
is conservative 2PL is recoverable schedule ?
is conservative 2PL is recoverable schedule ?
Gurdeep Saini
3.7k
views
Gurdeep Saini
asked
Nov 6, 2018
Databases
2phaselocking
transaction-and-concurrency
+
–
0
votes
0
answers
11
transaction and concurrency control protocol
Consider th following schedule r1(A)r2(B)r3(C)w1(B)w2(C)w3(D) Find the schedule which are possible to execute by strict 2PL protocol? consider commit operation as immediate last operation of each transaction
Consider th following scheduler1(A)r2(B)r3(C)w1(B)w2(C)w3(D)Find the schedule which are possible to execute by strict 2PL protocol? consider commit operation as immediate...
gatecrack
386
views
gatecrack
asked
Sep 5, 2018
Databases
transaction-and-concurrency
databases
2phaselocking
2pl
+
–
0
votes
0
answers
12
2pl protocol
Can someone explain how transactions can be serialized in order of their lock points (the point where the transactions acquire their final lock)?
Can someone explain how transactions can be serialized in order of their lock points (the point where the transactions acquire their final lock)?
Parimal Paritosh
419
views
Parimal Paritosh
asked
Sep 2, 2018
Databases
databases
transaction-and-concurrency
2phaselocking
conflict-serializable
+
–
1
votes
0
answers
13
2PL Protocol
Consider the following schedules involving two transactions. Which of the following statements is true? A. Both S1 and S2 are allowed under 2PL. B. Only S2 is allowed under 2PL. C. Only S1 is allowed under 2PL. D. Neither S1 nor S2 allowed under 2PL.
Consider the following schedules involving two transactions.Which of the following statements is true?A. Both S1 and S2 are allowed under 2PL.B. Only S2 is allowed under ...
Na462
998
views
Na462
asked
Jul 14, 2018
Databases
databases
transaction-and-concurrency
2phaselocking
+
–
0
votes
0
answers
14
Question on lock
Which of the following are correct statements? (i) It is possible for different transactions to hold locks on the same data item in x and z node at the same time. (ii) It is possible for more than one transaction to hold lock on same database element in 3 mode, at the same time another transaction ... (a) (i) and (ii) (b) (i) and (iii) (c) (ii) and (iii) (d) (i), (ii) and (iii)
Which of the following are correct statements? (i) It is possible for different transactions to hold locks on the same data item in x and z node at the same time. ...
shubham6596
485
views
shubham6596
asked
Jul 8, 2018
Databases
databases
2phaselocking
+
–
1
votes
0
answers
15
2 PL with lock upgrade and Conflict serializability
Hi Guys, Please tell following statement is T/F --> If there is a schedule which is conflict serializable. But there may not exist any 2 PL with lock upgrade scheme to execute it. PS: ping @Krish__, @rahul sharma 5, @Red_devil, @Shivam Chauhan, @Tuhin Dutta, @Anu007, @Ashwin Kulkarni @reena_kandari and @srestha ji.
Hi Guys,Please tell following statement is T/F >If there is a schedule which is conflict serializable. But there may not exist any 2 PL with lock upgrade scheme to execu...
Chhotu
921
views
Chhotu
asked
Dec 26, 2017
Databases
databases
transaction-and-concurrency
conflict-serializable
2phaselocking
+
–
1
votes
1
answer
16
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????
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 PH...
Shivam Gupta 3
633
views
Shivam Gupta 3
asked
Aug 3, 2017
Databases
2phaselocking
transaction-and-concurrency
databases
+
–
0
votes
1
answer
17
Test by Bikram | Mock GATE | Test 3 | Question: 34
Consider the following schedule: $S =$ ${R1(A),R2(B),W2(A),W1(A)}$ Assume that Transaction $T1$ has started execution before the Transaction $T2$. Then, the schedule is: Allowed under Basic Timestamp Protocol ... Allowed under both Basic Timestamp Protocol and Thomas Write Rule. Not allowed under both Basic Timestamp Protocol and Thomas Write Rule.
Consider the following schedule: $S =$ ${R1(A),R2(B),W2(A),W1(A)}$Assume that Transaction $T1$ has started execution before the Transaction $T2$.Then, the schedule is: ...
Bikram
347
views
Bikram
asked
Feb 9, 2017
GATE
tbb-mockgate-3
databases
transaction-and-concurrency
2phaselocking
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register