全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Isolation level?

Definition 30.20 University Computer Science — Year 2 · 第 30 章 — Database Design: Dependencies, Normal Forms and Transactions

An isolation level is a promise about which of these anomalies a database system lets transactions see. The SQL standard names four: read uncommitted, read committed, repeatable read and serializable, the last promising that every schedule has the same effect as some serial one.

isolation leveldirty readnon-repeatable readphantom read
read uncommittedpossiblepossiblepossible
read committednopossiblepossible
repeatable readnonopossible
serializablenonono
The standard isolation levels, and the anomalies each allows. A system may give more than a level promises: PostgreSQL’s repeatable read shows no phantoms, and its read uncommitted behaves as read committed.
在原文中阅读 →