1. Timestamp Ordering Concurrency Control


Timestamp Ordering (T/O) determine serializability order of txns before they execute.

Use timestamps to determine the serializability order of txns.

If $TS(T_i ) < TS(T_j )$, then the DBMS must ensure that the execution schedule is equivalent to a serial schedule where $T_i$ appears before $T_j$ .

1.1 Allocation

Each txn $T_i$ is assigned a unique fixed timestamp that is monotonically increasing.

There are multiple timestamp allocation implementation strategies.

2. Basic Timestamp Ordering (T/O) Protocol


Txns read and write objects without locks.

Every object X is tagged with timestamp of the last txn that successfully did read/write

Check timestamps for every operation: