Content deleted Content added
Added missing periods in Examples |
m →Phases of Optimistic concurrency control: Sentence case |
||
Line 3:
OCC is generally used in environments with low [[Block contention|data contention]]. When conflicts are rare, transactions can complete without the expense of managing locks and without having transactions wait for other transactions' locks to clear, leading to higher throughput than other concurrency control methods. However, if contention for data resources is frequent, the cost of repeatedly restarting transactions hurts performance significantly; it is commonly thought{{who|date=July 2016}} that other [[concurrency control]] methods have better performance under these conditions.{{citation needed|date=July 2016}} However, locking-based ("pessimistic") methods also can deliver poor performance because locking can drastically limit effective concurrency even when deadlocks are avoided.
== Phases of
{{Unreferenced section|date=August 2010}}
More specifically, Optimistic concurrency control transactions involve these phases:
|