PrepCity

ACID transactions

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 8 pages · about 5 min

ACID transactions

A transfer debits one account and credits another inside one transaction: both changes commit together, or a failed check rolls both back.

Words you’ll learn

  • Service
  • FOR UPDATE
  • Row
  • Commit
  • Write-ahead log
  • Disk
  • Database
  • Rollback
  • Isolation level
  • Saga

Page by page