Transaction的四个基本属性总结来讲就是ACID
1. Atomic
Transaction must execute completely or not at all
2. Consistent
Data in database is always in a consistent state (makes sense)
Constraints (primary keys, referential integrity, etc.)
3. Isolated
Transaction executes without interference
4. Durable
Changes are not lost if the system crashes
1. Atomic
Transaction must execute completely or not at all
2. Consistent
Data in database is always in a consistent state (makes sense)
Constraints (primary keys, referential integrity, etc.)
3. Isolated
Transaction executes without interference
4. Durable
Changes are not lost if the system crashes