What is ACID Property of Transaction?

Answer Posted / patil madhav

Atomicity:-
All changes to data are performed as if they are a
single operation. That is, all the changes are performed, or
none of them are.

For example, in an application that transfers funds from
one account to another, the atomicity property ensures that,
if a debit is made successfully from one account, the
corresponding credit is made to the other account.

Consistency:-
Data is in a consistent state when a transaction starts
and when it ends.

For example, in an application that transfers funds from
one account to another, the consistency property ensures
that the total value of funds in both the accounts is the
same at the start and end of each transaction.

Isolation:-
The intermediate state of a transaction is invisible to
other transactions. As a result, transactions that run
concurrently appear to be serialized.

For example, in an application that transfers funds from
one account to another, the isolation property ensures that
another transaction sees the transferred funds in one
account or the other, but not in both, nor in neither.

Durability:-
After a transaction successfully completes, changes to
data persist and are not undone, even in the event of a
system failure.

For example, in an application that transfers funds from
one account to another, the durability property ensures that
the changes made to each account will not be reversed.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of optimization?

734


How to remove duplicate rows from table?

848


what is raid and what are different types of raid configurations? : Sql server database administration

739


What is normalization 1nf 2nf 3nf?

807


What is tablesample?

772


Explain the different types of joins?

756


Are semicolons required at the end of sql statements in sql server 2005?

753


What is the Disadvantage of indexed sequential file.

795


Does an index slow down updates on indexed columns?

726


What is right outer join in sql server joins?

869


explain the storage models of olap? : Sql server database administration

689


Do you know what are acid properties?

781


What is replication and database mirroring?

798


Where is trigger in sql server?

736


List down some advantages of sql stored procedure?

725