Explain ACID properties of the database?

All Database systems which include transaction support implement ACID properties to ensure the integrity of the database. ACID stands for Atomicity, Consistency, Isolation and Durability

  • Atomicity: Each transaction is said to be “atomic.” If one part of the transaction fails, the entire transaction fails. Modifications on the data in the database either fail or succeed.
  • Consistency: This property ensures 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.
  • Isolation: It requires that multiple transactions occurring at the same time not impact each other’s execution.
  • Durability: It ensures that any transaction committed to the database will not be lost.

7 comments:

  1. these are the good definitions ,n i enoy that

    ReplyDelete
  2. thanks for these definitions, they're a lot clearer than other ones I've found.

    ReplyDelete
  3. thanks a lot for this answer,, if we ask more questions will u answer,, i need the answer 4 this question, plz help, write short notes on transitive dependency in oracle?

    ReplyDelete
  4. Thanks alot for this understandable solution,b'cause i could never understood this topic left.Sachindra,Bihar

    ReplyDelete
  5. Thanks for Sharing this valuable things.

    ReplyDelete
  6. Thanks for good information.. its easy to understand

    ReplyDelete

Type more interview question answer here