ACID properties stand for Atomicity, Consistency, Isolation, and Durability, which are four core rules that guarantee database transactions remain accurate and reliable even during errors, power failures or heavy concurrent traffic.
Atomicity (All or Nothing). Every operation inside a transaction must succeed together, or the entire transaction fails and rolls back to its original state. If a ₹500 bank transfer deducts money from Account A but crashes before crediting Account B, atomicity cancels the deduction so no money vanishes.
Consistency (Valid State to Valid State). A transaction must follow all predefined database rules and constraints so data never becomes invalid. For example, if a rule forbids negative balances, any transaction attempting to withdraw more money than available is rejected.
Isolation (No Interference). Multiple transactions running at the exact same time cannot see each other's unfinished changes.
Durability (Permanent Changes). Once a transaction finishes and commits, its changes are permanently saved to non-volatile storage like a hard drive or SSD.
Loading…