Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In the field of
relational database management systems, optimistic concurrency control
(OCC) is a concurrency control method that assumes that multiple
transactions can complete without affecting each other, and that
therefore transactions can proceed without locking the data resources
that they affect. Before committing, each transaction verifies that no
other transaction has modified its data. If the check reveals
conflicting modifications, the committing transaction rolls back. OCC is
generally used in environments with low 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.