Optimistic concurrency control: Difference between revisions

Content deleted Content added
mostly don't conflict
Nikai (talk | contribs)
m link
Line 5:
There are three phases in OCC:
 
1. '''READ''': Transaction executes, reading values, writing to a private [[sandbox (security)|sandbox]].
 
2. '''VALIDATION''': When transaction commits, the database checks if the transaction could have possibly conflicted with any other concurrent transaction. If there is a possibility, the transaction aborts, and restarted.