Isolation levels in oracle [closed]

青春壹個敷衍的年華 提交于 2019-12-21 16:57:29

问题


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.


回答1:


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.




回答2:


There are four isolation levels

  1. Read uncommitted or Read Dirty Buffers
  2. Read Committed or repeated reads
  3. Phantom reads
  4. Serializable


来源:https://stackoverflow.com/questions/13647604/isolation-levels-in-oracle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!