[prev] 45 [next]

Schedules (cont)

Serial schedules guarantee database consistency
  • each Ti  commits before Ti+1
  • prior to Ti  database is consistent
  • after Ti  database is consistent   (assuming Ti is correct)
  • before Ti+1  database is consistent ...
Concurrent schedules interleave tx operations arbitrarily
  • and may produce a database that is not consistent
  • after all of the transactions have committed successfully