Transaction has four- important properties
- Atomicity - Transactions are atomic (all or nothing)
- Consistency - Transactions preserve database consistency. Which means a transaction transforms a consistent state of a database into another consistent state, without necessarily preserving consistency at all immediate points.
- Isolation - Transactions are isolated from one another. That is, even though in general there will be many 'transactions' running concurrently, any given transaction's updates are concealed from all the rest, until that transaction commits.
- Durability - Once transaction commits its updates survive in the database, even if there is a subsequent system crash.
No comments:
Post a Comment