What Problem faced when Concurrent transactions are executing?

The concurrency control technique is a process of managing the simultaneous execution of transactions in a shared database. However, when the concurrent transaction techniques are executed in an uncontrolled manner then it leads to several problems. The five leading problems that occur due to uncontrolled execution of concurrent transactions are 1. Lost Update Problem 2. … Read more

Explanation of Lost Update Problem and Dirty Read Problem

Lost update and dirty read problem both are issues that appear due to uncontrolled execution of the concurrent transaction. Lost Update Problem A lost update problem appears when at least two transactions access the same transaction data and performs their operation. As we know, the data of transaction if the first read by the system … Read more

What is the need of Concurrency Control?

Imagine a busy kitchen where many cooks are preparing different dishes at the same time. They need to share ingredients, utensils, and cooking stations without getting in each other’s way. This is a bit like what happens in a computer database, where concurrency control is the rulebook that helps everyone work together smoothly. We need … Read more

ACID Properties Of Transaction in DBMS

Atomicity It states that a transaction must be treated as a single atomic unit i.e. Either transaction executed successfully or completely failed. It should not stuck in between or execute partially. The states of the transaction should be defined before execution or after the execution or failure or abortion of the transaction. For example: Suppose … Read more

Transactions in DBMS, Its states and ACID Properties

The transaction is executed as a single unit and should be atomic, consistent, isolated, and durable. This ACID property of transaction maintains the integrity of the data during the execution of the database. What is Transaction in DBMS? In a Database Management System (DBMS), a transaction is a series of operations or steps that are … Read more

Comparison between Single-User and Multi-User System

The main difference between the single-user and multi-user system are single-user system supports a maximum of one user to access the database but multi-user system supports a minimum of 2 users to access the database simultaneously. Below we have written various comparison for your better understanding. What is Single-User System? A Single-user System is designed … Read more

Concurrency Control Techniques in DBMS

The concurrency control technique is a process of managing the simultaneous execution of transactions in a shared database. It preserves the database consistency, enforces the isolation of different transactions, and resolves the conflicts which occur due to the read-write operation of transactions. The various Concurrency Control techniques are 1). Locking based protocol Locking is a … Read more

What is database management system? Write its capabilities.

Ans: Before the database management system, we should know about the data and the database. There are two very confusing terms. Difference between data and information is as follows: Data: Data is the raw and isolated facts about an entity or record. For example text, audio, image, map, etc. Information: Information is processed, meaningful and … Read more

DBMS Unit 5: Concurrency Control Technique Previous Year Questions

What do you mean by concurrency control techniques? Write the comparison between single user and multi-user system. What do you mean by Transaction? Write the ACID property of Transaction. What is the need of concurrency control. Explain the lost update problem and dirty read problem. Describe the problem faced when concurrent transaction are executing in … Read more