Computer Science, asked by muhammadhussainlodhi, 13 days ago

Explain solution of consistency problems caused by the concurrent execution of transactions?

Answers

Answered by saratipanda787
1

Answer:

Concurrency Control is the management procedure that is required for controlling concurrent execution of the operations that take place on a database.

In a multi-user system, multiple users can access and use the same database at one time, which is known as the concurrent execution of the database. It means that the same database is executed simultaneously on a multi-user system by different users.

While working on the database transactions, there occurs the requirement of using the database by multiple users for performing different operations, and in that case, concurrent execution of the database is performed.

The thing is that the simultaneous execution that is performed should be done in an interleaved manner, and no operation should affect the other executing operations, thus maintaining the consistency of the database. Thus, on making the concurrent execution of the transaction operations, there occur several challenging problems that need to be solved.

In a database transaction, the two main operations are READ and WRITE operations. So, there is a need to manage these two operations in the concurrent execution of the transactions as if these operations are not performed in an interleaved manner, and the data may become inconsistent. So, the following problems occur with the Concurrent Execution of the operations:

Answered by teenagola473
0

Answer:

A transaction is a set of changes that must all be made together. It is a program unit whose execution mayor may not change the contents of a database.

Similar questions