SQL & Relational Databases (50 Qs)•Part 2: Core Architecture & Implementation (Mid-Level)
What are the ACID Properties in relational databases?
senior LevelMost AskedSystem DesignDatabases & SQL
In Simple Words: The 4 foundational guarantees of transactional databases:
- Atomicity: "All or nothing". Either every operation in a transaction succeeds, or the entire transaction is rolled back with zero partial changes.
- Consistency: A transaction transitions the database from one valid state to another, upholding all constraints, cascades, and schema rules.
- Isolation: Concurrent transactions execute without interfering with one another, preventing dirty reads and race conditions.
- Durability: Once a transaction is committed, its changes survive permanently on disk, even if power fails immediately afterward.