695 views

2 Answers

1 votes
1 votes

In the case of lost update problem (special case of write – write problem, where a transaction commits to a blind write and the other transaction rollsback without commiting) , is the schedule recoverable ....

 

 

  • Schedules in which transactions commit only after all transactions whose changes they read commit are called recoverable schedules...

  • Concurrency control is the process of managing simultaneous execution of transactions (such as queries, updates, inserts, deletes and so on) in a multiprocessing database system without having them interfere with one another.

  • This property of DBMS allows many transactions to access the same database at the same time without interfering with each other...

 

The primary goal of concurrency is to ensure the atomicity of the execution of transactions in a multi-user database environment...

Concurrency controls mechanisms attempt to interleave (parallel) READ and WRITE operations of multiple transactions so that the interleaved execution yields results that are identical to the results of a serial schedule execution….

The five concurrency problems that can occur in database are:

(i). Temporary Update Problem

(ii). Incorrect Summary Problem

(iii). Lost Update Problem

(iv). Unrepeatable Read Problem

(v). Phantom Read Problem

 

1. https://gateoverflow.in/240287/Transaction-cascadeless 

 

2. https://gateoverflow.in/102090/Dbms-schedules-lost-update-vs-ww-conflict 

 

3. https://gateoverflow.in/191804/Database-question-transactions 

 

4. https://gateoverflow.in/17082/Difference-between-strict-schedule-cascadeless-schedule?show=17085#a17085

 

 

0 votes
0 votes
Yes it is recoverable.
No dirty read is sufficient condition for schedule to be recoverable i.e if no dirty read exits then it is recoverable schedule but if dirty read exists it may or may not be recoverable.

Related questions

1 votes
1 votes
1 answer
3
Shivam Gupta 3 asked Aug 3, 2017
631 views
T1: r1(x)w1(x)r1(y)w1(y)T2: r2(y)w2(y)L is xclusive lock and U is unlock L1(y)L1(X)R1(Y)W1(Y)R1(X)W1(X)U1(X)U1(Y)L2(Y)R2(Y)W2(Y)U2(Y)?IS THIS SCHEDULE VALID UNDER A 2 PH...
0 votes
0 votes
1 answer
4
Kaustubh _15 asked Dec 15, 2017
487 views
The above question has a blind write so it should be View Serializable. But can it be Conflict Serializable?