-- Apr 8 In-Class Exercise Thread
<T1, X, 6, 8>
X = 8 is in memory
<COMMIT T1>
<T2, Y, 10, 5>
Y = 10 is in memory
<START DUMP>
<START CKPT>
<FLUSH LOG>
Dirty buffers are written to disk
Database copies x as 8 to disk
Database copies y as 5 to disk
<End Checkpoint (T2)>
Db copies x to as 8 to archive
Db copies y to as 5 to archive
<End Dump>
Throw out log file before T2
(
Edited: 2020-04-08)
<T1, X, 6, 8>
X = 8 is in memory
<COMMIT T1>
<T2, Y, 10, 5>
Y = 10 is in memory
<START DUMP>
<START CKPT>
<FLUSH LOG>
Dirty buffers are written to disk
Database copies x as 8 to disk
Database copies y as 5 to disk
<End Checkpoint (T2)>
Db copies x to as 8 to archive
Db copies y to as 5 to archive
<End Dump>
Throw out log file before T2