transaction-management
Installation
SKILL.md
Transaction Management
Ensuring data consistency through proper transaction design.
Context
You are designing transactions. Use appropriate isolation level; understand lock behavior.
Domain Context
- ACID: Atomicity, Consistency, Isolation, Durability
- Isolation Levels: Read Uncommitted, Read Committed, Repeatable Read, Serializable
- Locks: Shared (read), exclusive (write); deadlock possible
- Deadlock: Two transactions waiting for each other; database detects and rolls back
- Consistency: Invariants maintained; foreign keys, constraints