Loading…
Loading…
4 карточек
What does ACID mean in the context of database transactions?
нажми, чтобы перевернуть
Atomicity: all or nothing (rollback on error). Consistency: data transitions from one valid state to another. Isolation: concurrent transactions don't interfere with each other (isolation levels: Read Uncommitted -> Serializable). Durability: after commit, data is persisted even through crashes (WAL).
Когда да
Financial operations, inventory, any critical data
Когда нет
Analytics, logging, social feeds — where eventual consistency is acceptable
Совет на собеседовании
Know the isolation levels: Read Uncommitted, Read Committed, Repeatable Read, Serializable
Свайп вправо — знаю, влево — не знаю
