通俗易懂的事務隔離級別分析實驗總結,請移駕 http://www.zsythink.net/archives/1233/ 。
事務的隔離級別 |
髒讀 |
不可重複讀 |
幻讀 |
read uncommitted | √ | √ | √ |
read committed | × | √ | √ |
repeatable read | × | × | √ |
serializable | × | × | × |
mysql中默認 第三個隔離級別 repeatable read
oracle中默認第二個隔離級別 read committed