Two-phase commit


database
A technique for maintaining integrity in distributed databases. Where a system uses two or more database, a transaction among the distibuted database should be atomic (“all or nothing”). This is done by handling the transaction in two phases. First the databases prepare the transaction, confirm that it is possible to process it, and lock the relevant record.
Once all the required databases confirm that the transaction is viable, the system instructs them all to commit it – i.e. to make it permanent. If it is not possible to process it, the system will instruct the databases to rollback (undo) the transaction.
(2000-02-28)

Read Also:

  • Two-piece

    adjective 1. having or consisting of two parts or pieces, especially two matching pieces of a clothing ensemble: a two-piece bathing suit. noun 2. Also, two-piecer. a two-piece garment. adjective 1. consisting of two separate parts, usually matching, as of a garment noun 2. such an outfit

  • Two-ply

    adjective 1. consisting of two thicknesses, layers, strands, or the like. adjective 1. made of two thicknesses, layers, or strands noun (pl) -plies 2. a two-ply wood, knitting yarn, etc

  • Two-point perspective

    [too-point] /ˈtuˌpɔɪnt/ noun 1. See under linear perspective. linear perspective noun 1. a mathematical system for representing three-dimensional objects and space on a two-dimensional surface by means of intersecting lines that are drawn vertically and horizontally and that radiate from one point (one-point perspective) two points (two-point perspective) or several points on a horizon line […]

  • Two-pot screamer

    noun 1. (Austral, slang) a person easily influenced by alcohol

  • Two-rivers

    noun 1. a city in E Wisconsin.


Disclaimer: Two-phase commit definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.