728x90

Oracle Database Isolation Levels

Isolation LevelDescription

Read committed (default)

This is the default transaction isolation level. Each query executed by a transaction sees only data that was committed before the query (not the transaction) began. An Oracle Database query never reads dirty (uncommitted) data.

Because Oracle Database does not prevent other transactions from modifying the data read by a query, that data can be changed by other transactions between two executions of the query. Thus, a transaction that runs a given query twice can experience both nonrepeatable read and phantoms.

Serializable

Serializable transactions see only those changes that were committed at the time the transaction began, plus those changes made by the transaction itself through INSERTUPDATE, and DELETE statements. Serializable transactions do not experience nonrepeatable reads or phantoms.

Read-only

Read-only transactions see only those changes that were committed at the time the transaction began and do not allow INSERTUPDATE, and DELETE statements.



DB2 Isolation Levels

ANSI SQL Isolation LevelDB2 UDB equivalent
SERIALIZABLERepeatable read (RR)
REPEATABLE READRead stability (RS)
READ COMMITTED (default)Cursor stability (CS)
Currently Committed (CC)
READ UNCOMMITTEDUncommitted read (UR)


Informix Isolation Levels
http://www.database.sarang.net/?inc=read&aid=571&criteria=informix&subcrit=&id=947&limit=20&keyword=&page=70

728x90

+ Recent posts