Under multiversion concurrency control each item keeps several versions, each tagged with the commit timestamp of the transaction that wrote it. Under snapshot isolation a transaction reads, for each item, the newest version committed before it started, together with its own writes; two transactions are concurrent when each starts before the other commits, and of two concurrent transactions that write the same item, the second to commit aborts (first committer wins). Serialisable snapshot isolation adds a check at commit that aborts a transaction in a dangerous structure: one where it has read an item that a concurrent transaction writes, and has written an item that a concurrent transaction read.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Multiversion concurrency control, snapshot isolation, serialisable snapshot isolation?
又称: multiversion concurrency control · snapshot isolation · serialisable snapshot isolation