Chapter 17
Chapter 17
Chapter 17
Introduction to Transaction
Processing Concepts and Theory
Committed state
Failed state
Terminated State
execution.
[write_item,T,X,old_value,new_value]: Records that
of database item X.
[commit,T]: Records that transaction T has completed
also have recorded all their write operations in the log; Otherwise
they would not be committed, so their effect on the database
could be redone from the log entries. (Notice that the log file must
be kept on disk.
At the time of a system crash, only the log entries that have been
log that has not been written to the disk yet must now be written to
the disk.
This process is called force-writing the log file before committing a
transaction.
back.
A schedule S is recoverable if no transaction T
View serializability:
Definition of serializability based on view
equivalence.
A schedule is viewed serializable if it is viewed
equivalent to a serial schedule.