Databases

Atomicity

The A in ACID: all operations in a transaction succeed, or all are undone.

Example

If $100 is subtracted and adding it to the other account fails, the subtraction is undone.

Test yourself: Atomicity

ACID and BASE

You transfer $100: it was subtracted from your account and adding to the other failed. What does atomicity do?

Lessons that use it

More databases terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.