Schritt | T1 | T2 | Log |
[LSN, TA, PagelD, Redo, Undo, PrevLSN] | |||
1. | BOT | [#1, T1, BOT, 0] | |
2. | r(A, a1) | ||
3. | BOT | [#2, T2, BOT, 0] | |
4. | r(C, c2) | ||
5. | a1 : = a1 - 50 | ||
6. | w(A, a1) | [#3, T1, PA, A-=50, A+=50, #1] | |
7. | c2 : = c2 + 100 | ||
8. | w(C, c2) | [#4, T2, PC, C+=100, C-=100, #2] | |
9. | r(B, b1) | ||
10. | b1 : = b1 + 50 | ||
11. | w(B, b1) | [#5, T1, PB, B+=50, B-=50, #3] | |
12. | commit | [#6, T1, commit, #5] | |
13. | r(A, a2) | ||
14. | a2 : = a2 - 100 | ||
15. | w(A, a2) | [#7, T2, PA, A-=100, A+=100, #4] | |
16. | commit | [#8, T2, commit, #7] |