Article | REF: H3850 V1

Distributed databases

Authors: Claude CHRISMENT, Geneviève PUJOLLE, Gilles ZURFLUH

Publication date: December 10, 1993

You do not have access to this resource.
Click here to request your free trial access!

Already subscribed? Log in!


Français

7. Two-phase validation protocol

In a distributed context, the validation of a global request that is broken down into local sub-requests requires the implementation of a Two Phase Commit Protocol (2PC).

A global control module (GCM) supervises the execution of the query and determines whether it has been completed correctly. To do this, this control module communicates with local control modules (LCMs), specific to each site where the subqueries are executed. Depending on whether or not the subqueries have been executed correctly, the MCG may or may not signal the correct end of the query to the user.

The following pseudo-code explains how these modules work. Correct execution of the query is validated by a COMMIT operation, which makes the modifications made to the database effective. Incorrect execution triggers a restore operation (ROLLBACK) which undoes the modifications...

You do not have access to this resource.

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource.
Click here to request your free trial access!

Already subscribed? Log in!


The Ultimate Scientific and Technical Reference

A Comprehensive Knowledge Base, with over 1,200 authors and 100 scientific advisors
+ More than 10,000 articles and 1,000 how-to sheets, over 800 new or updated articles every year
From design to prototyping, right through to industrialization, the reference for securing the development of your industrial projects

This article is included in

Software technologies and System architectures

This offer includes:

Knowledge Base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

Practical Path

Operational and didactic, to guarantee the acquisition of transversal skills

Doc & Quiz

Interactive articles with quizzes, for constructive reading

Subscribe now!

Ongoing reading
Two-phase validation protocol