05 - Transactions & ACID
What is a Transaction?
A transaction is a logical unit of work that consists of one or more database operations. It represents a complete business operation that must succeed or fail as a whole.
Real-World Analogy: Bank Transfer
ACID Properties
ACID guarantees data integrity even in the face of errors, power failures, and concurrent access.