- Any database Transaction is all or nothing
- If one part of the transaction fails it all fails
- An incomplete transaction cannot exist
- eg: Order & Shipment - Mark order as complete & mark as shipped at the same time.
- Any transaction will take the data from one consistent state to another
- Only consistent data is allowed to be written
- No transaction should be able to interfere with another transaction
- The same field cannot be updated by two sources at the exact same time
- Once a transaction is committed it will stay that way
- Save it once, read it forever unless modified / deleted
Atomic
Consistent
Isolated
Durable
No comments:
Post a Comment