Read Committed Isolation (327)
For many applications, read committed is the most appropriate isolation level. Read
committed isolation can provide considerably more concurrency with a somewhat
increased risk of inconsistent results due to phantoms and non-repeatable reads for
some transactions.
Many high-performance environments with high transaction arrival rates require more
throughput and faster response times than can be achieved with serializable isolation.
Other environments that supports users with a very low transaction arrival rate also
face very low risk of incorrect results due to phantoms and nonrepeatable reads. Read
committed isolation is suitable for both of these environments.
Oracle read committed isolation provides transaction set consistency for every query.
That is, every query sees data in a consistent state. Therefore, read committed isolation
will suffice for many applications that might require a higher degree of isolation if run
on other database management systems that do not use multiversion concurrency
control.
Read committed isolation mode does not require application logic to trap the Cannot
serialize access error and loop back to restart a transaction. In most applications,
few transactions have a functional need to issue the same query twice, so for many
applications protection against phantoms and non-repeatable reads is not important.
Therefore many developers choose read committed to avoid the need to write such
error checking and retry code in each transaction.
已提交讀隔離
1.
已提交讀取隔離能夠最大限度地保證資料併發性,但在某些事務中可能會出現不可重複讀取或幻象讀取
的風險
2.
在對效能要求較高的系統中,為了應對較高的事務到來率,系統需要提供更大的事務吞吐量和更快的響
應速度,此時採用序列化隔離可能難以實現.還有一類系統,其事務到來率較低,出現不可重複讀取或
幻象讀取的風險也較低. 以上兩種系統均適合採用已提交讀取隔離
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-989863/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Django Mysql SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTEDDjangoMySqlSessionMIT
- 【眼見為實】自己動手實踐理解資料庫READ COMMITTED && MVCC資料庫MITMVC
- 327
- [leetCode]327. 區間和的個數LeetCode
- PostgreSQL DBA(177) - Serializability Isolation(Index vs NonIndex)SQLIndex
- PostgreSQL DBA(176) - Serializability Isolation(基本概念)SQL
- direct path read/read temp等待事件事件
- PostgreSQL DBA(178) - Serializability Isolation(禁止的異象)SQL
- READ ME
- Read a story
- 等待事件db file sequential read、db file scattered read和direct read的區別事件
- 327. 區間和的個數 (歸併排序)排序
- java.lang.IllegalStateException: Cannot call sendError() after the response has been committed解讀JavaExceptionErrorMIT
- [Bash] read command
- TIC Read Status
- Read-onlydynamicdata
- 白話異常檢測演算法Isolation Forest演算法REST
- MySQL的repeatable readMySql
- Preferred Read Failure GroupsAI
- oracle事務隔離級別transaction isolation level初識Oracle
- [LeetCode] 158. Read N Characters Given Read4 II – Call multipleLeetCode
- TrendForce:2022年全球汽車照明市場將接近327億美元
- [轉帖]資料庫的快照隔離級別(Snapshot Isolation)資料庫
- 四種ABAP單元測試隔離(test isolation)技術
- [Javascript] How javascript read the property?JavaScript
- Spark Streaming Failed to read checSparkAI
- zend_std_read_property
- 【Linux shell】while read lineLinuxWhile
- Oracle:db file scattered readOracle
- Cannot read property ‘aDataSort‘ of undefinedUndefined
- [!] Attempt to read non existent folder `***********`
- read by other session等待事件Session事件
- read content in a text file in pythonPython
- MXNet: wait_to_read 方法AI
- mysql snapshot read快照讀及current read當前讀與鎖lock之一MySql
- mysql中read commited與repeatable read兩種隔離級別的測試MySqlMIT
- Linux read命令的基本使用!Linux
- Cross-Origin Read Blocking (CORB)ROSBloCORB
- Handler_read_*的總結