Ch20 Updated 2023
Ch20 Updated 2023
Ch20 Updated 2023
Chapter 20
Transaction Management
Transparencies
Recovery Control
Some causes of database failure.
Purpose of transaction log file.
Purpose of checkpointing.
How to recover following database failure.
Alternative models for long duration transactions.
Transaction
Action, or series of actions, carried out by user or
application, which reads or updates contents of
database.
Logical unit of work on the database.
Application program is series of transactions with non-
database processing in between.
Transforms database from one consistent state to
another, although consistency may be violated during
transaction.
Loss of T2’s update avoided by preventing T1 from reading balx until after
update.
Problem avoided by preventing T6 from reading balx and balz until after T5
completed updates.