Isolation levels in oracle [closed]

2019-04-08 19:50发布

I would like to know different isolation levels with respect to commit, and would also like to know about row-level and table-level lock.

2条回答
啃猪蹄的小仙女
2楼-- · 2019-04-08 20:23

There are four isolation levels

  1. Read uncommitted or Read Dirty Buffers
  2. Read Committed or repeated reads
  3. Phantom reads
  4. Serializable
查看更多
Lonely孤独者°
3楼-- · 2019-04-08 20:33

ANSI/ISO SQL defines four isolation levels:

  • serializable
  • repeatable read
  • read committed
  • read uncommitted

According to Oracle's Database Development Guide, chapter 6.6.1: Transaction Interaction and Isolation Level, you can request either isolation level READ COMMITTED (the default) or SERIALIZABLE.

Please note, however, that what Oracle call SERIALIZABLE is actually snapshot isolation.

For more information about row-level and table-level locks, see Overview of the Oracle Database Locking Mechanism and Locking tables explicitly.

查看更多
登录 后发表回答