C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






What is transaction and ACID properties?


Posted Date: 16 Sep 2008    Resource Type: Articles    Category: Databases

Posted By: Satyanarayan SushilKumar Bajoria       Member Level: Diamond
Rating:     Points: 5



Hi,

A transaction is an atomic unit of work that must be completed in its entirety.The transaction succeeds if it committed and fails if it is aborted.Transactions have four essential properties:atomicity,consistency,isolation, and durability(known as the ACID properties).

Atomicity:The work cannot be broken into smaller parts.Although a transaction might contain many SQL statements,it must be run as all-or-nothing proposition,which means that,if a transaction is only partially complete when an error occurs,the work revertss to its state prior to the start of the transaction.

Consistency:A transaction must operate on a consistent view of the data and also leave the data in a consistency state.Any work in progress must not be visible to other transactions until the transaction has been committed.

Isolation:A transaction should appear to be running by itself,the effects of other ongoing transactions must be invisible to this transaction,and the effects of this transaction must be invisible to other ongoing transaction.

Durability:When the transaction is committed,it must be persisted so it is not lost in the event of a power failure.Only committed transaction are recovered during power-up and crash recovery;uncommitted work is roll back.

Regards
S.S.Bajoria




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Transaction and ACID in SQL Server  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Sql Queries
Previous Resource: Copy or move database diagram from for sqlserver2005
Return to Discussion Resource Index
Post New Resource
Category: Databases


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

UK Conference calling Company

Contact Us    Privacy Policy    Terms Of Use