The document presents a tutorial on database management systems, focusing on transaction schedules and their properties such as serialization, conflict serializability, and recoverability. It includes multiple-choice questions regarding the correct serialization of transaction schedules, conflict serializability of various schedules, and characteristics of a specific database schedule. The tutorial aims to test understanding of key concepts in transaction management.
The document presents a tutorial on database management systems, focusing on transaction schedules and their properties such as serialization, conflict serializability, and recoverability. It includes multiple-choice questions regarding the correct serialization of transaction schedules, conflict serializability of various schedules, and characteristics of a specific database schedule. The tutorial aims to test understanding of key concepts in transaction management.
1. Consider the following schedule for transactions T1, T2 and T3.
T1 T2 T3 Read(X) Read(Y) Read(Y) Write(Y) Write(X) Write(X) Read(X) Write(X) Which one of the schedules below is the correct serialization of the above? a. T1->T3->T2 b. T2->T1->T3 c. T2->T3->T1 d. T3->T1->T2
2. Consider the following four schedules due to three transactions
(indicated by the subscript) using read and write on a data item x, denoted by R(X) and W(X) respectively. Which one of them is conflict serializable? a) R1(X); R2(X); W1(X); R3(X); W2(X);
3. Consider the following schedule S of transactions T1, T2, T3, T4:
Which one of the following statements is CORRECT? a. S is conflict-serializable but not recoverable b. S is not conflict-serializable but is recoverable c. S is both conflict-serializable and recoverable d. S is neither conflict-serializable nor is it recoverable
4. 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 operation by transaction Ti on a variable
Z, wi(Z) denotes a write operation by Ti on a variable Z and ai denotes an abort by transaction Ti .
Which one of the following statements about the above schedule is
TRUE?
a. Sis non-recoverable. b. Sis recoverable, but has a cascading abort. c. Sdoes not have a cascading abort. d. S is strict.
5. Check whether the given schedule S is view serializable or not.