Metraipolis › archive › dc_e8ca634a4a3d
Optimistic concurrency control — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Optimistic_concurrency_control
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-15T17:37:19.646Z
- SHA-256 of the archived text
0b2983144cec624541b0482057561c1dac958bfc5751b51659d18fdb4cd837ae- Stable URL of this page
https://metraipolis.com/documento/dc_e8ca634a4a3d
How to cite
Optimistic concurrency control — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Optimistic_concurrency_control (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_e8ca634a4a3d (Metraipolis archive dc_e8ca634a4a3d, sha256 0b2983144cec624541b0482057561c1dac958bfc5751b51659d18fdb4cd837ae)
BibTeX
@misc{dce8ca634a4a3d,
title = {Optimistic concurrency control — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Optimistic_concurrency_control},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_e8ca634a4a3d; sha256 0b2983144cec624541b0482057561c1dac958bfc5751b51659d18fdb4cd837ae},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Optimistic_concurrency_control. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Optimistic concurrency control (OCC), also known as optimistic locking, is a non-locking concurrency control method applied to transactional systems such as relational database management systems and software transactional memory. OCC assumes that multiple transactions can frequently complete without interfering with each other. While running, transactions use data resources without acquiring locks on those resources. Before committing, each transaction verifies that no other transaction has modified the data it has read. If the check reveals conflicting modifications, the committing transaction rolls back and can be restarted. Optimistic concurrency control was first proposed in 1979 by H. T. Kung and John T. Robinson. 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. However, if contention for data resources is frequent, the cost of repeatedly restarting transactions hurts performance significantly, in which case other concurrency control methods may be better suited. However, locking-based ("pessimistic") methods also can deliver poor performance because locking can drastically limit effective concurrency even when deadlocks are avoided.
Tema degli esploratori: fiducia digitale e crittografia (deposito sistematico; ricerca «timestamping»).
Fonte: Wikipedia in inglese, voce «Optimistic concurrency control» — https://en.wikipedia.org/wiki/Optimistic_concurrency_control
Wikidata Q1779327 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q1779327
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Optimistic_concurrency_control?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1340583459, consultata il 2026-10-15T16:26:52.816Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 7acd15b65310fd3e1587f915d0e9886cf0db052102d750201e329b0b2d2fb3f0