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

Write a program using SQL queries to find a unique entry in a table.

540


Which Model uses the SET concept

577


How can you stop stored procedures from recompiling?

486


What gets stored inside msdb database?

762


How to sort query output in descending order in ms sql server?

540






How do I create a partition table in sql server?

488


What types of replication are supported in sql server?

556


What are the essential components of sql server service broker?

558


What is a deadlock and what is a live lock?

569


Define indexes?

601


How to list all stored procedures in the current database using ms sql server?

632


What does sql server mean?

532


Explain how dts is used to extract, transform and consolidate data?

574


What are views used for?

617


How to loop through result set objects using odbc_fetch_row()?

465