What is a transaction?
A logical unit of work with multiple statements that must succeed or fail together. Boundaries: BEGIN/COMMIT/ROLLBACK.
Databases · 9 sections
ACID properties, isolation levels, concurrency anomalies, locking, MVCC, WAL recovery, distributed transactions, and consistency models.
A logical unit of work with multiple statements that must succeed or fail together. Boundaries: BEGIN/COMMIT/ROLLBACK.
All-or-nothing: every statement commits or none does. Implemented via undo log/rollback segments; on failure, changes are undone.
A transaction brings the DB from one valid state to another, preserving constraints (PK, FK, CHECK, triggers). Application invariants also matter.
99 more cards in this sheet
Unlock the Backend, Databases & AI bundle — ₹399
One-time payment. Unlocks this sheet and 14 other sheets in the bundle, plus a typeset PDF of each.
Unlock the bundle See all bundles
Or get all 76 sheets for ₹999 — one payment, every future sheet included.
What's new and the interview questions people are actually getting asked. No spam.