1. ACID
- Atomic
- Consistency
- Isolation
- Durability
2. The Anomalies
- Dirty read
- Non-repeatable read
- Phantom read
- Lost update
- Write skew: read in different rows.
3. Isolation Level
- Read Uncommitted
- Read committed
- Repeatable Read
- solve dirty read
- solve non-repeatable read
- Seriablization
Default of PostgreSQL:
Default of MySQL