Content deleted Content added
{{unsourced}}, rephrase, formatting, misc |
fix list formatting with HTML |
||
Line 7:
There are three phases in an OCC transaction:
<ol>
<li>'''Validate''': When the client has completed editing of the values in its sandbox or cache, it initiates the storage of the changes back to the database. During validation, an algorithm checks if the changes to the data would conflict with either </li>
</ol>
When conflicts are rare, validation can be done efficiently, leading to higher throughput than other concurrency control methods.{{fact}} However, if conflicts happen often, the cost of repeatedly restarting transactions, hurts performance significantly — other [[non-lock concurrency control]] methods have better performance when there are many conflicts.
|