Questions tagged [write-skew]

3 questions
14
votes
2 answers

'Lost update' vs 'Write skew'

Can somebody explain me whats exactly the difference between a 'lost update' and a 'write skew' in database transaction theory? Can somebody give me an example?
MjeOsX
  • 375
  • 4
  • 12
2
votes
3 answers

Serializable Isolation Level Confusion - Write Skew (Postgres)

I'm running Postgres12 and confused about the behavior of the serializable transaction level. Tables: Events id difficulty Managers id level Intended behavior (within serialized transaction): check if there are 7 or more events of…
0
votes
0 answers

Write skew in a snapshot isolation level

Let's consider a scenario of a write skew below. In an MVCC protocol for snapshot isolation, let's assume the initial state is this: Item Version Value on_call 3 [Alice, Bob] Then transition TA started and given a unique timestamp of 5…
Sankit Acharya
  • 45
  • 2
  • 11