28.11.2012 Views

read(y) - IBDS-OS Startseite

read(y) - IBDS-OS Startseite

read(y) - IBDS-OS Startseite

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Writeahead Log<br />

x = 0;<br />

y = 0;<br />

BEGIN_TRANSACTION;<br />

x = x + 1;<br />

y = y + 2<br />

x = y * y;<br />

END END_TRANSACTION;<br />

TRANSACTION;<br />

a) A transaction<br />

Log<br />

[x = 0 / 1]<br />

Log<br />

[x = 0 / 1]<br />

[y = 0/2]<br />

b) – d) The log before each statement is executed<br />

Log<br />

[x = 0 / 1]<br />

[y = 0/2]<br />

[x = 1/4]<br />

(a) (b) (c) (d)<br />

© 2009 Universität Karlsruhe, System Architecture Group 8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!