










































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











































Transaction Management with SQL
Serializable schedules
Shared locks permit reads but no
updates
Deadlocks
Dirty-read
Serializability through timestamps
A checkpoint
Recovery from a backup copy of the database
Schedules
Each transaction must specify as its final action either
c ommit (i.e., complete successfully) or abort (i.e., terminate
and undo all the actions carried out thus far).
Definition: a schedule is a list of actions (reading, writing,
aborting or committing) from a set of transactions, and the
order in which two actions of a transaction T appear in a
schedule must be the same as the order in which they appear
in T.
Notation: RT (O) means the action of a transaction T reading
an object O ; W T (O) means writing O.
Figure 1