Interleaved schedules are judged by the precedence graph.

highlighted = computed this step

Serial versus serializable

A serial trace runs one transaction after another. An interleaved trace can still be conflict-serializable when its graph is acyclic. Note: the contrast is decided by graph structure, not by visual interleaving alone.

serializable contrast\text{serializable contrast}

Cyclic side

The cyclic side has recomputed cycle length 2. Note: the highlighted cycle is the reason the rendered verdict changes.

cycle length=2\text{cycle length}=2

conflict-serializability is an exact SUFFICIENT criterion; a cyclic precedence graph is provably not conflict-serializable; view-serializability, lock scheduling, and recovery are beyond these tiny traces - no product claims.

Cyclic contraststepT1T20R(A)1W(A)2W(B)3W(B) conflict-serializable: no; cycle: T1,T2T1T2

Acyclic side

The acyclic side has cycle length 0 and topo length 2. Note: the topo order appears in the render.

cycle length=0,topo length=2\text{cycle length}=0,\quad \text{topo length}=2

conflict-serializability is an exact SUFFICIENT criterion; a cyclic precedence graph is provably not conflict-serializable; view-serializability, lock scheduling, and recovery are beyond these tiny traces - no product claims.

Acyclic contraststepT1T20R(A)1R(B)2W(A)3W(A) conflict-serializable: yes; topo: T1,T2T1T2

Side by side

Both schedules are compiled independently, and each verdict is rendered from its own graph. Note: the same exact rule handles both traces.

same rule\text{same rule}

conflict-serializability is an exact SUFFICIENT criterion; a cyclic precedence graph is provably not conflict-serializable; view-serializability, lock scheduling, and recovery are beyond these tiny traces - no product claims.

Cyclic contraststepT1T20R(A)1W(A)2W(B)3W(B) conflict-serializable: no; cycle: T1,T2T1T2
Acyclic contraststepT1T20R(A)1R(B)2W(A)3W(A) conflict-serializable: yes; topo: T1,T2T1T2

Summary

Serializable is a graph property here: acyclic schedules have a serial order, cyclic schedules do not. Note: conflict-serializability is exact here; view-serializability, locks, and recovery are deferred.

contrast summary\text{contrast summary}