Anomalies
Write Skew
Write skew breaks a cross-item constraint with overlapping reads and disjoint writes.
Write skew
Write skew comes from overlapping reads but disjoint writes. Each transaction sees a state that looks acceptable, then they write different items. Note: the cross-item constraint and both outcomes are rendered.
Overlapping reads
The compiled trace has 4 reads before the disjoint writes. Note: the overlap is visible in the timeline.
these traces model specific anomalies under a read-latest-write execution model; isolation levels (RC/RR/SI/serializable) and MVCC mechanism are modelled later - no product claims.
Serial baseline
The interleaved final state has 2 items, and the derived serial final state has 2 items. Note: the serial baseline is derived by the engine from the same operations.
these traces model specific anomalies under a read-latest-write execution model; isolation levels (RC/RR/SI/serializable) and MVCC mechanism are modelled later - no product claims.
Summary
Write skew is about a cross-item rule broken by an interleaving with disjoint writes. Note: isolation levels, serializable behavior, and MVCC mechanisms are deferred to later books.