Explain ACID rule of thumb for transactions
ACID (an acronymn for Atomicity Consistency Isolation Durability) is a concept that Database Professionals generally look for when evaluating databases and application architectures. For a reliable database all this four attributes should be achieved.
Transaction must be
Atomic - it is one unit of work and does not dependent on previous and following transactions.
Consistent - data is either committed or roll back, no in-between case where something has been updated and something hasnt.
Isolated - no transaction sees the intermediate results of the current transaction.
Durable - the values persist if the data had been committed even if the system crashes right after.
Comments
Post a Comment