Transactions
- Databases allow easy concurrent access
- Start a transaction
- Perform updates
- Commit (or abort, possibly retry)
- Properties of transactions
- As long as the transaction is not committed, other transactions don't see its actions.
- The whole transaction behaves atomically
- Concurrent transactions appear linearized