ACID is a set of properties that apply specifically to database transactions, defined as follows:
Atomicity - Everything in a transaction must happen successfully or none of the changes are committed. This avoids a transaction that changes multiple pieces of data from failing halfway and only making a few changes.
Consistency - The data will only be committed if it passes all the rules in place in the database (ie: data types, triggers, constraints, etc).
Isolation - Transactions won't affect other transactions by changing data that another operation is counting on; and other users won't see partial results of a transaction in progress (depending on isolation mode).
Durability - Once data is committed, it is durably stored and safe against errors, crashes or any other (software) malfunctions within the database.
Comments