You are on page 1of 1

o A transaction can be defined as a group of tasks.

A single task is the minimum


processing unit which cannot be divided further. The transaction is a set of logically
related operation. It contains a group of tasks.
o A transaction is an action or series of actions. It is performed by a single user to perform
operations for accessing the contents of the database.

Property of Transaction
1. Atomicity
2. Consistency
3. Isolation
4. Durability

What are ACID Properties?

ACID PROPERTIES are used for maintaining the integrity of database during transaction
processing. ACID stands for Atomicity, Consistency, Isolation, and Durability.

 Atomicity: A transaction is a single unit of operation. You either execute it entirely or do


not execute it at all. There cannot be partial execution.
 Consistency: Once the transaction is executed, it should move from one consistent state
to another.
 Isolation: Transaction should be executed in isolation from other transactions (no
Locks). During concurrent transaction execution, intermediate transaction results from
simultaneously executed transactions should not be made available to each other. (Level
0,1,2,3)
 Durability: · After successful completion of a transaction, the changes in the database
should persist. Even in the case of system failures.

You might also like