Articles

Primary articles identify the source of replicated transactions, that is, objects in the primary database. Replicate articles subscribe to primary articles and identify the destinations of replicated transactions, which are objects in the replicate database.

Primary articles

You create primary articles to identify objects in the primary database, tables or stored procedures, for which you want to publish transactions. Each object in the primary database can be identified by only one primary article.

You must create each primary article in an existing publication. After you create a primary article, you can add it to any number of publications, but a primary article must always belong to at least one publication.

Primary articles that publish tables can identify a subset of the columns in the table to be published. Primary articles that publish stored procedures can identify a subset of the input parameters to be published.

Replicate articles

You create replicate articles to identify the objects in a replicate database that you want to receive the published transactions. Each object in the replicate database can be identified by only one replicate article.

Each replicate article subscribes to the published contents of a specific primary article. Each replicate article identifies both a primary article that is the source of the published data, and a replicate object in the replicate database that is the destination of the published data.

Replicate articles can subscribe to a subset of the columns or parameters that are published in a primary article. Replicate articles can also use a where clause to further select the operations to which they subscribe.

You must create each replicate article in an existing subscription, and that subscription must point to a publication that contains the primary article identified by the replicate article.

Figure 1-6 illustrates the relationship of multiple replicate articles to a single primary article that belongs to more than one publication. Although the replicate articles belong to different subscriptions, which subscribe to different publications, the replicate articles both subscribe to the same primary article.

Figure 1-6: Primary article in more than one publication