Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged transaction-and-concurrency
1
votes
2
answers
61
Is a Serial Schedule always Recoverable?
Is only conflict serializable schedules are recoverable? Or both view as well as conflict serializable schedules are recoverable? I have been seeing different answers in different forum.
Is only conflict serializable schedules are recoverable?Or both view as well as conflict serializable schedules are recoverable?I have been seeing different answers in di...
DebRC
1.9k
views
DebRC
asked
Aug 16, 2022
Databases
databases
concurrency
transaction-and-concurrency
serializability
+
–
1
votes
1
answer
62
Databases
Someone Please Solve it
Someone Please Solve it
Overflow04
531
views
Overflow04
asked
Jul 5, 2022
Databases
ace-test-series
databases
transaction-and-concurrency
+
–
0
votes
0
answers
63
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
+
–
12
votes
2
answers
64
GATE CSE 2022 | Question: 29
Let $\textit{R}_{i}(z)$ and $\textit{W}_{i}(z)$ denote read and write operations on a data element $z$ by a transaction $\textit{T}_{i},$ respectively. Consider the schedule $\textit{S}$ ... $T_{4} \rightarrow T_{1} \rightarrow T_{3} \rightarrow T_{2}$ $T_{3} \rightarrow T_{1} \rightarrow T_{4} \rightarrow T_{2}$
Let $\textit{R}_{i}(z)$ and $\textit{W}_{i}(z)$ denote read and write operations on a data element $z$ by a transaction $\textit{T}_{i},$ respectively. Consider the sched...
Arjun
8.6k
views
Arjun
asked
Feb 15, 2022
Databases
gatecse-2022
databases
transaction-and-concurrency
conflict-serializable
2-marks
+
–
0
votes
1
answer
65
if we use timeout with wait die scheme is there starvation?
In wait and die scheme we don't have starvation, if we add timeout to it, does it change? I think if we add timeout, it can cause starvation the old transaction always timeout before runnin and a new transaction will be run. Is that so?
In wait and die scheme we don't have starvation, if we add timeout to it, does it change? I think if we add timeout, it can cause starvation the old transaction always ti...
Tara22
466
views
Tara22
asked
Feb 11, 2022
Databases
transaction-and-concurrency
+
–
1
votes
1
answer
66
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
67
Transactions and concurrency control
When Ti attempts to write data item Q, if TS(Ti ) < w-timestamp(Q), then Ti is attempting to write an obsolete value of {Q}. Rather than rolling back Ti as the timestamp ordering protocol would have done, this {write} operation can be ... Ti any transaction which comes after the Ti will have a chance of reading that change made by Ti by performing Read(Q) .
When Ti attempts to write data item Q, if TS(Ti ) < w-timestamp(Q), then Ti is attempting to write an obsolete valueof {Q}. Rather than rolling back Ti as the timestamp o...
jayadev
438
views
jayadev
asked
Dec 30, 2021
Databases
transaction-and-concurrency
databases
concurrency
+
–
1
votes
1
answer
68
#selfdoubt
given schedule s: R2A W1B W1C R3B R2B R1A C1 R2C C2 W3A C3 How should I approach to above problem when LOCKS ARE NOT GIVEN and to find if s is 2PL ?
given schedule s: R2A W1B W1C R3B R2B R1A C1 R2C C2 W3A C3How should I approach to above problem when LOCKS ARE NOT GIVEN and to find if s is 2PL ?
BHOJARAM
495
views
BHOJARAM
asked
Dec 28, 2021
Databases
transaction-and-concurrency
+
–
1
votes
2
answers
69
DBMS - Transactions and concurrency control
I had a doubt. In the case of lost update problem (special case of write – write problem, where a transaction commits to a blind write and the other transaction rollsback without commiting) , is the schedule recoverable or not??
I had a doubt.In the case of lost update problem (special case of write – write problem, where a transaction commits to a blind write and the other transaction rollsbac...
Rutuja Desai
698
views
Rutuja Desai
asked
Dec 2, 2021
Databases
transaction-and-concurrency
databases
+
–
0
votes
0
answers
70
testseries
consider the log of transaction given below <T0,START> <T0,S,1000,2000> <T0,H,2,3> identify the correct actions which are part of undo(T0) ?? H is restored to 3. S is set to 1200. H is restored to 1000 <T0,S,1000,2000> log record is written out..
consider the log of transaction given below<T0,START><T0,S,1000,2000><T0,H,2,3>identify the correct actions which are part of undo(T0) ?? H is restored to 3.S is set to 1...
Abhishek tarpara
335
views
Abhishek tarpara
asked
Dec 1, 2021
Databases
databases
transaction-and-concurrency
made-easy-test-series
+
–
0
votes
1
answer
71
Haryana PGT
order of operations T1T2T1T2
order of operations T1T2T1T2
Sanjay Sharma
249
views
Sanjay Sharma
asked
Nov 16, 2021
Databases
transaction-and-concurrency
+
–
1
votes
4
answers
72
self doubt
every strict recoverable schedule is conflict serializable..if not then why?
every strict recoverable schedule is conflict serializable..if not then why?
samarpita
614
views
samarpita
asked
Nov 13, 2021
Databases
transaction-and-concurrency
databases
+
–
1
votes
3
answers
73
Are all Irrecoverable/Non-Recoverable schedules cascading?
Suppose, T1: W(X), T2: R(X), T1: W(X), T2: Commit, T1: Abort Here we can see T2 is getting committed before T1 aborts, so it is clearly an Irrecoverable schedule but is it cascading?
Suppose,T1: W(X), T2: R(X), T1: W(X), T2: Commit, T1: AbortHere we can see T2 is getting committed before T1 aborts, so it is clearly an Irrecoverable schedule but is it ...
DebRC
739
views
DebRC
asked
Nov 2, 2021
Databases
databases
transaction-and-concurrency
data
+
–
1
votes
1
answer
74
view serializable
Find View Serializable T1 : R1(A) , R1(B) , W1(B) T2 : R2(A) , R2(B) , W2(B)
Find View SerializableT1 : R1(A) , R1(B) , W1(B)T2 : R2(A) , R2(B) , W2(B)
sambey4
305
views
sambey4
asked
Oct 15, 2021
Databases
view-serializable
databases
transaction-and-concurrency
+
–
13
votes
2
answers
75
GATE CSE 2021 Set 2 | Question: 32
Let $S$ be the following schedule of operations of three transactions $T_1$, $T_2$ and $T_3$ in a relational database system: $R_2(Y), R_1(X), R_3(Z), R_1(Y)W_1(X), R_2(Z), W_2(Y), R_3(X), W_3(Z)$ Consider the statements $P$ and $Q$ below: $P$ ... Both $P$ and $Q$ are true $P$ is true and $Q$ is false $P$ is false and $Q$ is true Both $P$ and $Q$ are false
Let $S$ be the following schedule of operations of three transactions $T_1$, $T_2$ and $T_3$ in a relational database system:$$R_2(Y), R_1(X), R_3(Z), R_1(...
Arjun
7.1k
views
Arjun
asked
Feb 18, 2021
Databases
gatecse-2021-set2
databases
transaction-and-concurrency
conflict-serializable
2-marks
+
–
19
votes
2
answers
76
GATE CSE 2021 Set 1 | Question: 13
Suppose a database system crashes again while recovering from a previous crash. Assume checkpointing is not done by the database either during the transactions or during recovery. Which of the following statements is/are correct? The same ... All the transactions that are already undone and redone will not be recovered again The database will become inconsistent
Suppose a database system crashes again while recovering from a previous crash. Assume checkpointing is not done by the database either during the transactions or during ...
Arjun
10.7k
views
Arjun
asked
Feb 18, 2021
Databases
gatecse-2021-set1
multiple-selects
databases
transaction-and-concurrency
1-mark
+
–
9
votes
3
answers
77
GATE CSE 2021 Set 1 | Question: 32
Let $r_i(z)$ and $w_i(z)$ denote read and write operations respectively on a data item $z$ by a transaction $T_i$. Consider the following two schedules. $S_1: r_1(x)r_1(y)r_2(x)r_2(y)w_2(y)w_1(x)$ ... serializable, and $S_2$ is conflict serializable Both $S_1$ and $S_2$ are conflict serializable Niether $S_1$ nor $S_2$ is conflict serializable
Let $r_i(z)$ and $w_i(z)$ denote read and write operations respectively on a data item $z$ by a transaction $T_i$. Consider the following two schedules.$S_1: r_1(x)r_1(y)...
Arjun
5.5k
views
Arjun
asked
Feb 18, 2021
Databases
gatecse-2021-set1
databases
transaction-and-concurrency
conflict-serializable
2-marks
+
–
3
votes
1
answer
78
GATE Overflow Test Series | Mock GATE | Test 5 | Question: 11
Which of the following statements is/are correct? (Mark all the appropriate choices) With strict $2PL,$ transactions can be serialized in the order in which they commit. With rigorous $2PL,$ transactions can not be always ... the transaction. With rigorous $2PL,$ both shared and exclusive locks are held until the end of the transaction.
Which of the following statements is/are correct? (Mark all the appropriate choices)With strict $2PL,$ transactions can be serialized in the order in which they commit.Wi...
gatecse
636
views
gatecse
asked
Feb 8, 2021
Databases
go2025-mockgate-5
databases
transaction-and-concurrency
multiple-selects
1-mark
+
–
1
votes
1
answer
79
NIELIT Scientific Assistant A 2020 November: 78
Which of the following scenarios may lead to an irrecoverable error in a database system? A transaction writes a data item after it is read by an uncommitted transaction A transaction reads a data item after it is read by an ... it is written by a committed transaction A transaction reads a data item after it is written by an uncommitted transaction
Which of the following scenarios may lead to an irrecoverable error in a database system?A transaction writes a data item after it is read by an uncommitted transactionA ...
gatecse
437
views
gatecse
asked
Dec 9, 2020
Databases
nielit-sta-2020
databases
transaction-and-concurrency
+
–
1
votes
1
answer
80
GATE Overflow Test Series | Mixed Subjects | Test 3 | Question: 7
Match the following: ... $a-iv,b-iii,c-ii,d-i$ $a-ii,b-iii,c-iv,d-i$ $a-iii,b-iv,c-ii,d-i$
Match the following:$$\begin{array}{|ll|ll|} \hline\text{a.}& \text{Transaction Failure} & \text{i.}&\text{Transaction Manager}\\\hline\text{b.}& \text{Concurrency Contro...
gatecse
67
views
gatecse
asked
Oct 15, 2020
Databases
go2025-mix-3
transaction-and-concurrency
+
–
1
votes
1
answer
81
GATE Overflow Test Series | Mixed Subjects | Test 3 | Question: 9
In which of the following cases the order of execution is important? (Mark all the appropriate choices) If two transactions only read a data item If two transactions either read or write completely separate data items If ... reads the same data item If one transaction writes a data item and another either writes the same data item
In which of the following cases the order of execution is important? (Mark all the appropriate choices)If two transactions only read a data itemIf two transactions either...
gatecse
49
views
gatecse
asked
Oct 15, 2020
Databases
go2025-mix-3
multiple-selects
transaction-and-concurrency
+
–
2
votes
1
answer
82
GATE Overflow Test Series | Mixed Subjects | Test 3 | Question: 10
Which of the following statements is/are correct? (Mark all the appropriate choices) With strict $\text{2PL,}$ transactions can be serialized in the order in which they commit Strict $\text{2PL,}$ holds only exclusive ... of the transaction With rigorous $\text{2PL,}$ transactions can be serialized in the order in which they commit
Which of the following statements is/are correct? (Mark all the appropriate choices)With strict $\text{2PL,}$ transactions can be serialized in the order in which they co...
gatecse
183
views
gatecse
asked
Oct 15, 2020
Databases
go2025-mix-3
transaction-and-concurrency
two-phase-locking-protocol
multiple-selects
+
–
1
votes
2
answers
83
NIELIT 2017 OCT Scientific Assistant A (IT) - Section C: 5
Assume transaction $A$ holds a shared lock $R.$ If transaction $B$ also requests for a shared lock on $R.$ It will result in deadlock situation immediately be granted immediately be rejected be granted as soon as it is released by $A$
Assume transaction $A$ holds a shared lock $R.$ If transaction $B$ also requests for a shared lock on $R.$ It willresult in deadlock situationimmediately be grantedimmedi...
admin
961
views
admin
asked
Apr 1, 2020
Databases
nielit2017oct-assistanta-it
databases
transaction-and-concurrency
deadlock-prevention-avoidance-detection
+
–
0
votes
1
answer
84
NIELIT 2017 OCT Scientific Assistant A (IT) - Section B: 31
When transaction $Ti$ requests a data item currently held by $Tj,Ti$ is allowed to wait only if it has a time stamp smaller than that of $Tj$ (that is $Ti$ is order than Tj). Otherwise, $Ti$ is rolled back (dies). This is Wait-die Wait-wound Wound-wait Wait
When transaction $Ti$ requests a data item currently held by $Tj,Ti$ is allowed to wait only if it has a time stamp smaller than that of $Tj$ (that is $Ti$ is order than ...
admin
719
views
admin
asked
Apr 1, 2020
Databases
nielit2017oct-assistanta-it
databases
transaction-and-concurrency
+
–
1
votes
3
answers
85
NIELIT 2017 OCT Scientific Assistant A (CS) - Section C: 10
When transaction $Ti$ requests a data item currently held by $Tj,Ti$ is allowed to wait only if it has a timestamp smaller than that of $Tj$ (that is $Ti$ is order than Tj). Otherwise, $Ti$ is rolled back (dies). This is Wait-die Wait-wound Wound-wait Wait
When transaction $Ti$ requests a data item currently held by $Tj,Ti$ is allowed to wait only if it has a timestamp smaller than that of $Tj$ (that is $Ti$ is order than T...
admin
1.4k
views
admin
asked
Apr 1, 2020
Databases
nielit2017oct-assistanta-cs
databases
transaction-and-concurrency
+
–
1
votes
1
answer
86
NIELIT 2017 OCT Scientific Assistant A (CS) - Section B: 34
Assume transaction $A$ holds a shared lock $R.$ If transaction $B$ also requests for a shared lock on $R.$ It will result in deadlock situation immediately be granted immediately be rejected be granted as soon as it is released by $A$
Assume transaction $A$ holds a shared lock $R.$ If transaction $B$ also requests for a shared lock on $R.$ It willresult in deadlock situationimmediately be grantedimmedi...
admin
1.8k
views
admin
asked
Apr 1, 2020
Databases
nielit2017oct-assistanta-cs
databases
transaction-and-concurrency
deadlock-prevention-avoidance-detection
+
–
0
votes
1
answer
87
NIELIT 2016 MAR Scientist B - Section C: 34
Global locks synchronize access to local resources. synchronize access to global resources. are used to avoid local locks. prevent access to global resources.
Global lockssynchronize access to local resources.synchronize access to global resources.are used to avoid local locks.prevent access to global resources.
admin
702
views
admin
asked
Mar 31, 2020
Databases
nielit2016mar-scientistb
databases
transaction-and-concurrency
lock
+
–
2
votes
3
answers
88
NIELIT 2017 DEC Scientist B - Section B: 18
In conservative two phase locking protocol, a transaction Should release all the locks only at the beginning of transaction Should release exclusive locks only after the commit operation Should acquire all the exclusive locks at the beginning of transaction Should acquire all the locks at the beginning of transaction
In conservative two phase locking protocol, a transactionShould release all the locks only at the beginning of transactionShould release exclusive locks only after the co...
admin
2.8k
views
admin
asked
Mar 30, 2020
Databases
nielit2017dec-scientistb
databases
transaction-and-concurrency
two-phase-locking-protocol
+
–
1
votes
7
answers
89
UGC NET CSE | January 2017 | Part 3 | Question: 7
Consider following schedules involving two transactions: $S_{1}: \: r_{1}(X);r_{1}(Y);r_{2}(X);r_{2}(Y);w_{2}(Y);w_{1}(X)$ ... serializable and $S_2$ is not conflict serializable $S_1$ is not conflict serializable and $S_2$ is conflict serializable Both $S_1$ and $S_2$ are not conflict serializable
Consider following schedules involving two transactions:$S_{1}: \: r_{1}(X);r_{1}(Y);r_{2}(X);r_{2}(Y);w_{2}(Y);w_{1}(X)$$S_{2}: \: r_{1}(X);r_{2}(X);r_{2}(Y);w_{2}(Y);r_...
go_editor
3.9k
views
go_editor
asked
Mar 24, 2020
Databases
ugcnetcse-jan2017-paper3
databases
transaction-and-concurrency
+
–
20
votes
5
answers
90
GATE CSE 2020 | Question: 37
Consider a schedule of transactions $T_1$ and $T_2$ ...
Consider a schedule of transactions $T_1$ and $T_2$:$\begin{array}{|c|c|c|c|c|c|c|c|c|c|c|} \hline T_1 & RA & & & RC & & WD & & WB & \text{Commit} & \\ \hline T_2 & & R...
Arjun
11.8k
views
Arjun
asked
Feb 12, 2020
Databases
gatecse-2020
databases
transaction-and-concurrency
2-marks
+
–
Page:
« prev
1
2
3
4
5
6
7
8
...
14
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register