Term of the Moment

graphics conversion


Look Up Another Term


Redirected from: 2PC

Definition: two-phase commit


A technique for ensuring that a transaction successfully updates all appropriate files in a distributed database environment. All DBMSs involved in the transaction first confirm that the transaction has been received and is recoverable (stored on disk). Then each DBMS is told to commit the transaction (do the actual updating).

Traditionally, two-phase-commit meant updating databases in two or more servers, but the term is also applied to updating two or more different databases within the same server. See transaction, transaction file and transaction processing.