Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a transaction and what are ACID properties?

Answer Posted / kumar

The ACID model is one of the oldest and most important
concepts of database theory. It sets forward four goals
that every database management system must strive to
achieve: atomicity, consistency, isolation and durability.
No database that fails to meet any of these four goals can
be considered reliable.

•Atomicity states that database modifications must follow
an “all or nothing” rule. Each transaction is said to
be “atomic.” If one part of the transaction fails, the
entire transaction fails. It is critical that the database
management system maintain the atomic nature of
transactions in spite of any DBMS, operating system or
hardware failure.

•Consistency states that only valid data will be written to
the database. If, for some reason, a transaction is
executed that violates the database’s consistency rules,
the entire transaction will be rolled back and the database
will be restored to a state consistent with those rules. On
the other hand, if a transaction successfully executes, it
will take the database from one state that is consistent
with the rules to another state that is also consistent
with the rules.

•Isolation requires that multiple transactions occurring at
the same time not impact each other’s execution.

.Durability ensures that any transaction committed to the
database will not be lost. Durability is ensured through
the use of database backups and transaction logs that
facilitate the restoration of committed transactions in
spite of any subsequent software or hardware failures

Is This Answer Correct ?    20 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different types of Normalization.

1840


How to include date and time values in sql statements?

1090


How to delete database objects with "drop" statements in ms sql server?

1093


Describe the functionalities that views support.

1105


What is the difference between DataRow.Delete() and DataRow.Remove()?

1230


What action plan is preferred if sql server is not responding?

1104


Mention what are the different types of ssrs reports?

152


How you can get the list of largest tables in a database?

1018


What is the ‘fillfactor’?

971


What is the difference between stored procedure and functions?

1137


How to transfer data from a cursor to variables with a "fetch" statement?

1099


What is the difference between a fill factor of 100 and 0?

981


How to modify an existing stored procedure in ms sql server?

1082


Is it possible to run multiple publications and different type of publications from the same distribution database? : sql server replication

985


How many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?

1111