Professional Documents
Culture Documents
ACID Properties
These are important properties of transaction they help to
ensure the integrity of data. In order to make transaction
complete the database system should maintain following
ACID Properties
1. Atomicity
According to this property either all operations of the
transaction are reflected properly in the database or none
of them.
2. Consistency
This property ensures that the execution of a transaction
in isolation preserves consistency of the database.
3. Isolation
When multiple transaction executes simultaneously or
concurrently then each transaction is isolated or unaware
from other transaction executing concurrently in the
systems
4. Durability
This property ensures that after a transaction is
completed successfully then the changes it has made to
the database persists even after there are system failures
ACID Requirements
Atomicity
In order to ensure atomicity database systems, keep track
of the old values of any data on which a transaction
performs right operation. If the transaction does not
complete its execution then the Database system restores
the old values. Atomicity is handled by the transaction
management component of DBMS.
Consistency
It is ensured by executing the transaction in isolation
without affecting other transaction. If changes are made
at one place they must be reflected at all other places in a
database.
Isolation
If several transactions are executed concurrently, there
operations may interleave {meaning: mix (two or more
digital signals) by alternating between them} in some
undesirable way, resulting in database inconsistency.
Isolation Property ensures that the concurrent execution
of transactions results in a system state which is
consistent. Isolation is handled by the concurrent control
element of the DBMS.
Durability
This property ensures that once a transaction is
successfully completed and all the updates that is carried
out on the database will last even if there is a system
failure after completion of the transaction. Ensuring
durability is the responsibility of the recovery
management component