https://moodle.cs.ubbcluj.ro/pluginfile.php/49852/mod_resource/content/1/DBMSs_Lecture1.pdf

https://moodle.cs.ubbcluj.ro/pluginfile.php/49928/mod_resource/content/1/DBMSs_Lecture2.pdf

https://moodle.cs.ubbcluj.ro/pluginfile.php/49946/mod_resource/content/1/DBMSs_Lecture3.pdf

Interleaved Executions

Consider the two transactions below:

T1: BEGIN A ← A-100 B ← B+100 END

T2: BEGIN A ← 1.05A B ← 1.05B END

Consider the following interleaving of operations (schedule):

T1: BEGIN A ← A-100 B ← B+100 END

T2: BEGIN A ← 1.05A B ← 1.05B END

or

T1: BEGIN A ← A-100 B ← B+100 END