Previous | Next --- Slide 44 of 65
Back to Lecture Thumbnails
annag

In this slide, the write is written to the write buffer, rather than to memory. When the transaction is committed, the contents in the write buffer are flushed to memory. If the transaction is aborted, the contents in that line of the write buffer are cleared.

hweetvpu

Abort is very cheap since the system can simply discard the buffer. Commit is much more expensive since all the updates in the buffer will have to be reflected in the memory.