Metraipolis › archive › dc_3d50c4b65722
Two-phase locking — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Two-phase_locking
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-07T17:33:39.921Z
- SHA-256 of the archived text
5c88a1f628c3743d8e7532162afc2cfa0462ddd81ae1c0430e6a8058e483675d- Stable URL of this page
https://metraipolis.com/documento/dc_3d50c4b65722
How to cite
Two-phase locking — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Two-phase_locking (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_3d50c4b65722 (Metraipolis archive dc_3d50c4b65722, sha256 5c88a1f628c3743d8e7532162afc2cfa0462ddd81ae1c0430e6a8058e483675d)
BibTeX
@misc{dc3d50c4b65722,
title = {Two-phase locking — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Two-phase_locking},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_3d50c4b65722; sha256 5c88a1f628c3743d8e7532162afc2cfa0462ddd81ae1c0430e6a8058e483675d},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Two-phase_locking. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In databases and transaction processing, two-phase locking (2PL) is a pessimistic concurrency control method that guarantees conflict-serializability. It is also the name of the resulting set of database transaction schedules (histories). The protocol uses locks, applied by a transaction to data, which may block (interpreted as signals to stop) other transactions from accessing the same data during the transaction's life. By the 2PL protocol, locks are applied and removed in two phases: Expanding phase: locks are acquired and no locks are released. Shrinking phase: locks are released and no locks are acquired. Two types of locks are used by the basic protocol: Shared and Exclusive locks. Refinements of the basic protocol may use more lock types. Using locks that block processes, 2PL, S2PL, and SS2PL may be subject to deadlocks that result from the mutual blocking of two or more transactions. Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; categoria «Databases»). Fonte: Wikipedia in inglese, voce «Two-phase locking» — https://en.wikipedia.org/wiki/Two-phase_locking Wikidata Q2290484 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q2290484 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Two-phase_locking?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 1352360262, consultata il 2026-10-07T17:03:58.139Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: e2632649d39adbaaf1c6b36a443f012347876e126dd214c249be2c6e1f368628