Previous | Next --- Slide 43 of 60
Back to Lecture Thumbnails
sidhikab

if another thread is reading x in a separate atomic section, it must get the old value of x = 10 if the transaction hasn't been committed yet.

czh

Does having a write buffer mean there are limits to how many data we write in a transaction?

spendharkar

how does data versioning relate to conflict detection? in our midterm we had eager, pessimistic policy vs lazy, optimistic policy - is it always the case that lazy data versioning is used with optimistic policy? Since we're writing to memory immediately with eager data versioning, would pessimistic be better? (because we check for conflicts immediately)

gsamp

@spendharkar, yes. eager data versioning is paired with pessimistic policy to guarantee isolation.

Please log in to leave a comment.