What is the goal of concurrency control protocol?
Which of the following concurrency control protocol ensures both conflict serializability and freedom from deadlock?
(i) 2 phase locking
(ii) Time stamp ordering
1 Crore+ students have signed up on EduRev. Have you? Download the App |
If the precedency graph of a given schedule is acyclic, then schedule
When n transactions are run concurrently and in an interleaved manner, the number of possible schedules are_________
In an DBMS without concurrency control, what consistency problem does the following transaction schedule depict?
Consider the following log sequence of two transactions on a bank account, with initial balance 12000, that transfer 2000 to a mortage payment and, then apply a 5% interest.
1. T1 start
2. T1 B old = 12000 new = 10000
3. T1 M old = 0 new = 2000
4. T1 commit
5. T2 start
6. T2 Bold = 10000 new = 10500
7. T2 commit
Suppose the database system crashed just before log record 7 is written. When the system is restarted, which one statement is true of the recovery procedure?
Consider the following schedules involving two transactions. Which one of the following statements is TRUE?
From transaction scenario given the precedence graph, which of the following is true?
Suppose that process P has been running for several days when a new process Q starts up and begins contending with Pfor resources. Which of the following is true?
For the schedule given below, which of the following is correct?
1 Read A
2 Read B
3 Write A
4 Read A
5 Write A
6 Write B
7 Read B
8 Write B
Consider three data items D1, D2, and D3, and the following execution schedule of transactions T1, T2 and T3. In the diagram, R(D) and W(D) denote the actions reading and writing the data item D respectively.
Consider the following schedules involving two transactions. Which one of the following statements is TRUE?
Consider two transactions T1 and T2, and four schedules S1 S2, S3, S4 of T1 and T2 as given below:
Which of the above schedules are conflict- serializable?
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?