When a transaction Ti is aborted and restarted in the TO protocol, it is assigned a new timestamp that is:
GATE CSE · Dbms
Master topic for Transactions. Includes Transactions - View Serializability, Concurrency - Two-Phase Locking (2PL), Timestamp Ordering Protocol.
120 questions · 0 PYQs · 20 AI practice · GATE CSE 2027
When a transaction Ti is aborted and restarted in the TO protocol, it is assigned a new timestamp that is:
In 2PL, the order of transactions in the equivalent serial schedule is determined by:
A transaction (timestamp = 5) requests a lock held by (timestamp = 10). Under the Wait-Die scheme:
A schedule produced by the basic TO protocol is conflict-equivalent to a serial schedule where transactions are ordered by:
In the basic TO protocol, transaction Ti issues write(Q). Under which condition(s) is Ti aborted?
Which of the following schedules is produced by transactions following Strict 2PL?
: -, , -, , , ,
: -, , ,
The precedence graph for a schedule has nodes and edges , , , . How many edges are in this graph?
Which of the following concurrency control protocols are deadlock-free? Select all that apply.
Consider the following two statements about database transaction schedules:
I. Strict two-phase locking protocol generates conflict serializable schedules that are also recoverable.
II. Timestamp-ordering concurrency control protocol with Thomas' Write Rule can generate view serializable schedules that are not conflict serializable.
Which of the above statements is/are TRUE?
Consider a schedule with 3 transactions on data items and : . How many edges are in the precedence graph of this schedule?
Under the basic TO protocol, which of the following anomalies can occur? Select all that apply.
Which of the following statements about the TO protocol are CORRECT? Select all that apply.
In the basic Timestamp Ordering (TO) protocol, when transaction Ti issues read(Q) and TS(Ti) < W-TS(Q), what action is taken?
Conservative (Static) 2PL avoids deadlocks by:
In the context of 2PL, which of the following anomalies is prevented by Strict 2PL but NOT by Basic 2PL?
Which of the following statements about the basic TO protocol are TRUE? Select all that apply.
Ti has TS(Ti) = 5. Current state: R-TS(Q) = 3, W-TS(Q) = 8. Ti issues write(Q). What happens under (i) basic TO and (ii) Thomas Write Rule?
TS(T1)=10, TS(T2)=20. Operations in order: T1:write(X) → T2:write(X) → T1:write(X). Using the Thomas Write Rule, how many write operations are actually executed (not ignored or aborted)?
Which of the following schedules are conflict serializable? (Select all that apply)
(i)
(ii)
(iii)
(iv)
The 'lock point' of a transaction in 2PL is defined as:
Want unlimited AI-generated Transactions questions?
Sign up free and practice with adaptive difficulty — Easy, Medium, Hard. New questions every session.
Start practising for free →