two-phase commit


A feature of transaction processing systems that enables databases to be returned to the pre-transaction state if some error condition occurs. A single transaction can update many different databases. The two-phase commit strategy is designed to ensure that either all the databases are updated or none of them, so that the databases remain synchronized.

Database changes required by a transaction are initially stored temporarily by each database. The transaction monitor then issues a “pre-commit” command to each database which requires an acknowledgment. If the monitor receives the appropriate response from each database, the monitor issues the “commit” command, which causes all databases to simultaneously make the transaction changes permanent.

Read Also:

  • two-tier

    Refers to client/server architectures in which the user interface runs on the client and the database is stored on the server. The actual application logic can run on either the client or the server. A newer client/server architecture, called a three-tier architecture introduces a middle tier for the application logic.

  • type

    (1) v. To enter characters by pressing keys on the keyboard. (2) n. In DOS, OS/2, and many other operating systems, the TYPE command causes a fileto appear on the display screen. (3) Short for data type.

  • type-safe

    (adj.) Code that accesses only the memory locations it is authorized to access, and only in well-defined, allowable ways. Type-safe code cannot perform an operation on an object that is invalid for that object. The C# and VB.NET language compilers always produce type-safe code, which is verified to be type-safe during JIT compilation.

  • Typeface

    )A design for a set of characters. Popular typefaces include Times Roman, Helvetica, and Courier. The typeface represents one aspect of a font. The font also includes such characteristics as size, weight, italics, and so on. There are two general categories of typefaces: serif and sans serif. Sans serif typefaces are composed of simple lines, […]

  • typosquatting

    (tī´pō-skwot´´ting) slang. Purchasing a domain name that is a variation on a popular domain name with the expectation that the site will get traffic off of the original sight because of a user’s misspelling of the name. For example, registering the domain names webapedia.com or yahooo.com in the hopes that someone making a typo will […]


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.