Database Management System
105502Module 4: Transaction Processing
Q1d. In ACID properties, which component ensures that once a transaction is committed, it remains so? (i) Atomicity (ii) Durability (iii) Isolation (iv) Consistency20242m
Module 4: Transaction Processing
View this question on its own page →In ACID properties, which component ensures that once a transaction is committed, it remains so?
(i) Atomicity
(ii) Durability
(iii) Isolation
(iv) ConsistencyQ1g. Consider the following action : TRANSACTION..... Commit; ROLLBACK; What does rollback do? (i) Undoes the transactions before commit (ii) Clears all transactions (iii) Redoes the transactions before commit (iv) No action20202m
Module 4: Transaction Processing
View this question on its own page →Consider the following action :
TRANSACTION.....
Commit;
ROLLBACK;What does rollback do?
(i) Undoes the transactions before commit
(ii) Clears all transactions
(iii) Redoes the transactions before commit
(iv) No actionQ1h. Which of the following is used to get back all the transactions back after rollback? (i) Commit (ii) Rollback (iii) Flashback (iv) Redo20202m
Module 4: Transaction Processing
View this question on its own page →Which of the following is used to get back all the transactions back after rollback?
(i) Commit
(ii) Rollback
(iii) Flashback
(iv) RedoQ1h. Which of the following ensures no data is lost after a system crash? (i) Commit log (ii) View (iii) Recovery manager (iv) Trigger20242m
Module 4: Transaction Processing
View this question on its own page →Which of the following ensures no data is lost after a system crash?
(i) Commit log
(ii) View
(iii) Recovery manager
(iv) TriggerQ1i. Consider the schedule: R1(X), R2(X), W1(X), W2(X). The schedule is: (i) View serializable only (ii) Conflict serializable (iii) Not serializable (iv) Recoverable20252m
Module 4: Transaction Processing
View this question on its own page →Consider the schedule: R1(X), R2(X), W1(X), W2(X). The schedule is:
(i) View serializable only
(ii) Conflict serializable
(iii) Not serializable
(iv) RecoverableQ1j. Which of the following is a concurrency control protocol. (i) Strict 2-phase locking protocol (ii) Timestamp based protocol (iii) Graph based protocol (iv) All of the above20222m
Module 4: Transaction Processing
View this question on its own page →Which of the following is a concurrency control protocol.
(i) Strict 2-phase locking protocol
(ii) Timestamp based protocol
(iii) Graph based protocol
(iv) All of the aboveQ1j. Under strict two-phase locking: (i) Exclusive locks are held until commit/abort (ii) Deadlocks are impossible (iii) Locks can be released anytime (iv) Transactions become serial20252m
Module 4: Transaction Processing
View this question on its own page →Under strict two-phase locking:
(i) Exclusive locks are held until commit/abort
(ii) Deadlocks are impossible
(iii) Locks can be released anytime
(iv) Transactions become serialQ3a. Briefly explain the ACID properties of the transactions to ensure integrity of the data.20227m
Module 4: Transaction Processing
View this question on its own page →Briefly explain the ACID properties of the transactions to ensure integrity of the data.
Q3b. Consider the transactions T1, T2 and T3 and schedules S1 and S2 given below: T1 : r1 (X); r1(Z); w1 (X); w1 (Z), T2 : r2 (Y); r2 (Z); w2 (Z) T3 : r3 (Y); r3 (X); w3 (Y) S1 : r1 (X); r3(Y); r3(X); r2 (Y); r2(Z); w3(Y); w2 (Z); r1 (Z); w1(X), w1 (Z). S2 : r1 (X); r3 (Y); r2(Y); r3(X); r1(Z); r2(Z); w3 (Y); w1 (X); w2(Z), w1 (Z). Determine which of the above schedules are conflict – serializable.20227m
Module 4: Transaction Processing
View this question on its own page →Consider the transactions T1, T2 and T3 and schedules S1 and S2 given below:
T1 : r1 (X); r1(Z); w1 (X); w1 (Z),
T2 : r2 (Y); r2 (Z); w2 (Z)
T3 : r3 (Y); r3 (X); w3 (Y)
S1 : r1 (X); r3(Y); r3(X); r2 (Y); r2(Z); w3(Y); w2 (Z); r1 (Z); w1(X), w1 (Z).
S2 : r1 (X); r3 (Y); r2(Y); r3(X); r1(Z); r2(Z); w3 (Y); w1 (X); w2(Z), w1 (Z).
Determine which of the above schedules are conflict – serializable.Q4a. Explain schedule and transaction. Define the concepts of recoverable, cascade less, and strict schedules, and compare them in terms of their recoverability.20247m
Module 4: Transaction Processing
View this question on its own page →Explain schedule and transaction. Define the concepts of recoverable, cascade less, and strict schedules, and compare them in terms of their recoverability.
Q4b. Consider the three transactions T1, T2, and T3, and the schedules S1 and S2 given below. State whether each schedule is serializable or not. If a schedule is serializable, write down the equivalent serial schedule(s). T1: r1 (X); r1 (Z); w1 (X); T2: r2 (Z); r2 (Y); w2 (Z); w2 (Y); T3: r3 (X); r3 (Y); w3 (Y); S1: r1 (X); r2 (Z); r1 (Z); r3 (X); r3 (Y); w1 (X); w3 (Y); r2 (Y); w2 (Z); w2 (Y); S2: r1 (X); r2 (Z); r3 (X); r1 (Z); r2 (Y); r3 (Y); w1 (X); w2 (Z); w3 (Y); w2 (Y);20247m
Module 4: Transaction Processing
View this question on its own page →Consider the three transactions T1, T2, and T3, and the schedules S1 and S2 given below. State whether each schedule is serializable or not. If a schedule is serializable, write down the equivalent serial schedule(s).
T1: r1 (X); r1 (Z); w1 (X);
T2: r2 (Z); r2 (Y); w2 (Z); w2 (Y);
T3: r3 (X); r3 (Y); w3 (Y);
S1: r1 (X); r2 (Z); r1 (Z); r3 (X); r3 (Y); w1 (X); w3 (Y); r2 (Y); w2 (Z); w2 (Y);
S2: r1 (X); r2 (Z); r3 (X); r1 (Z); r2 (Y); r3 (Y); w1 (X); w2 (Z); w3 (Y); w2 (Y);Q6a. List the ACID properties. Explain the usefulness of each.20207m
Module 4: Transaction Processing
View this question on its own page →List the ACID properties. Explain the usefulness of each.
Q6b. What benefit is provided by rigorous two-phase locking? How does it compare with other forms of two-phase locking?20207m
Module 4: Transaction Processing
View this question on its own page →What benefit is provided by rigorous two-phase locking? How does it compare with other forms of two-phase locking?
Q6b. Define serializability. Explain conflict and view serializability.20257m
Module 4: Transaction Processing
View this question on its own page →Define serializability. Explain conflict and view serializability.
Q6b. Briefly explain the ACID property of database system.20187m
Module 4: Transaction Processing
View this question on its own page →Briefly explain the ACID property of database system.
Q7a. Discuss 2 phase commit (2PC) protocol and time stamp-based protocol with suitable example. How the validation-based protocols differ from 2PC?20247m
Module 4: Transaction Processing
View this question on its own page →Discuss 2 phase commit (2PC) protocol and time stamp-based protocol with suitable example. How the validation-based protocols differ from 2PC?
Q7a. Explain two-phase locking protocol with an example.20257m
Module 4: Transaction Processing
View this question on its own page →Explain two-phase locking protocol with an example.
Q7b. Explain the immediate update and deferred update of recovery techniques.20187m
Module 4: Transaction Processing
View this question on its own page →Explain the immediate update and deferred update of recovery techniques.
Q7b. Discuss the procedure of deadlock detection and recovery in transaction?20247m
Module 4: Transaction Processing
View this question on its own page →Discuss the procedure of deadlock detection and recovery in transaction?
Q7b. Explain concurrency control problems such as lost update, dirty read, and unrepeatable read.20257m
Module 4: Transaction Processing
View this question on its own page →Explain concurrency control problems such as lost update, dirty read, and unrepeatable read.
Q8a. Explain the concept of database recovery in detail. Discuss various recovery techniques such as log-based recovery, shadow paging, checkpointing, and recovery using deferred and immediate update strategies with suitable examples.20247m
Module 4: Transaction Processing
View this question on its own page →Explain the concept of database recovery in detail. Discuss various recovery techniques such as log-based recovery, shadow paging, checkpointing, and recovery using deferred and immediate update strategies with suitable examples.
Q8b. What do you mean by concurrent execution and serializability in database system?20187m
Module 4: Transaction Processing
View this question on its own page →What do you mean by concurrent execution and serializability in database system?
Q9a. What is two-phase locking protocol? Explain its working in detail. How can it guarantee serializability?20197m
Module 4: Transaction Processing
View this question on its own page →What is two-phase locking protocol? Explain its working in detail. How can it guarantee serializability?
Q9b. Discuss the various approaches for handling the deadlocks in dbms.20197m
Module 4: Transaction Processing
View this question on its own page →Discuss the various approaches for handling the deadlocks in dbms.
Q9b. Write short notes on the following: (b) Concurrency control20207m
Module 4: Transaction Processing
View this question on its own page →Write short notes on the following:
(b) Concurrency controlQ9b. Write short notes on: Two-phase locking protocol20227m
Module 4: Transaction Processing
View this question on its own page →Write short notes on: Two-phase locking protocol
Q9b. Write a short note on: Database Recovery Techniques20257m
Module 4: Transaction Processing
View this question on its own page →Write a short note on:
Database Recovery Techniques