[prev] 88 [next]

Optimistic Concurrency Control (cont)

Under OCC, transactions have three distinct phases:
  • Reading: read from database, modify local copies of data
  • Validation: check for conflicts in updates
  • Writing: commit local copies of data to database
Timestamps are recorded at points S, V, F :

[Diagram:Pics/txproc/occ-phases.png]