The isolation levels defined by the ANSI/ ISO SQL standard are:
Serializable
- Specifies that all transactions occur in a completely isolated fashion
- May execute two or more transactions at the same time only if the illusion of serial execution can be maintained
- Requires that range locks are acquired when a query uses a ranged WHERE clause
- All data records retrieved by a SELECT statement cannot be changed, however, if the SELECT statement contains any ranged WHERE clauses, phantom reads may occur
- Data records retrieved by a query are not prevented from modification by some other transaction. Non-repeatable reads may occur, meaning data retrieved in a SELECT statement may be modified by some other transaction when it commits
- Dirty reads are allowed therefore one transaction may see uncommitted changes made by some other transaction
No comments:
Post a Comment