Computer Sciences > Gate 2016 Set-2 > Transactions
Suppose a database schedule S involves transactions T1, ....Tn. Construct the precedence graph of S with vertices representing the transactions and edges representing the conflicts. If S is serializable, which one of the following orderings of the vertices of the precedence graph is guaranteed to yield a serial schedule?
Correct : Transactions
Similar Questions
Consider the following transaction involving two bank accounts x and y.
read(x); x := x β 50; write(x); read(y); y := y + 50; write(y)
The constraint th...
Consider the following database schedule with two transactions, T1 and T2.
S = r2(X); r1(X); r2(Y); w1(X); r1(Y); w2(X); a1; a2;
where ri(Z) denotes a read op...
Consider the following two phase locking protocol. Suppose a transaction T accesses (for read or write operations), a certain set of objects {O1,...,Ok}. This i...
Total Unique Visitors
Loading......