Transactions and Concurrency
- Data concurrency, which ensures that users can access data at the same time
- Data consistency, which ensures that each user sees a consistent view of the data, including visible changes made by the user's own transactions and committed transactions of other users
- Oracle Database never permits dirty reads, which occur when a transaction reads uncommitted data in another transaction.
- Read consistency is guaranteed in single-instance and Oracle Real Application Clusters (Oracle RAC) environments. Oracle RAC uses a cache-to-cache block transfer mechanism known as Cache Fusion to transfer read-consistent images of data blocks from one database instance to another.
- Read Consistency in the Read Committed Isolation Level
- Locks are mechanisms that prevent destructive interaction between transactions accessing the same resource.
Preventable Read Phenomena by Isolation Level
Isolation Level | Dirty Read | Nonrepeatable Read | Phantom Read |
---|---|---|---|
Possible
|
Possible
|
Possible
| |
Read committed
|
Not possible
|
Possible
|
Possible
|
Repeatable read
|
Not possible
|
Not possible
|
Possible
|
Serializable
|
Not possible
|
Not possible
|
Not possible
|
No comments:
Post a Comment