Social Sciences, asked by irshadali2796, 1 year ago

Why does dbms interleave concurrent transaction?

Answers

Answered by pavan85
0

1down voteaccepted

A DBMS is typically shared among many users. Transactions from these users can be interleaved to improve the execution time of users’ queries. By interleaving queries, users do not have to wait for other user’s transactions to complete fully before their own transaction begins. Without interleaving, if user A begins a transaction that will take 10 seconds to complete, and user B wants to begin a transaction, user B would have to wait an additional 10 seconds for user A’s transaction to complete before the database would begin processing user B’s request.

Similar questions