Distributed OLTP Applications

Although some distributed transaction-processing applications maintain centralized primary data, others fragment primary data among replicate sites.

A primary fragment is a horizontal segment of a table that holds the primary version of a set of rows. Updates are first applied to the primary version and are then distributed to sites that have replicated copies of the data.

Sites that are responsible for, or own, portions of a table by definition have multiple primary fragments. For example, the salesdetail table has primary fragments in Chicago, New York, and San Francisco.

Table with Multiple Primary Fragments
Figure 2-3 shows how the sales detail table has primary fragments in Chicago, New York, and San Francisco.
A key constructed from one or more columns identifies the primary fragment where a row belongs. The key for the salesdetail table is the stor_id column.
There are three application models based on multiple primary fragments:

More information about these models can be found in Implemenation Strategies topic.