What's the Difference Between an ACID and a BASE Database
aws.amazon.com·3d·
Discuss: Hacker News
📝Database WAL
Preview
Report Post

ACID and BASE are acronyms for different database properties representing how the database behaves during online transaction processing.

**ACID **

ACID stands for atomicity, consistency, isolation, and durability.

Atomicity

Atomicity ensures that all steps in a single database transaction are either fully-completed or reverted to their original state. For example, in a reservation system, both tasks—booking seats and updating customer details—must be completed in a single transaction. You cannot have seats reserved for an incomplete customer profile. No changes are made to the data if any part of the transaction fails.

Consistency

Consistency guarantees that data meets predefined integrity constraints and business rules. Even if multiple use…

Similar Posts

Loading similar posts...