Subscription materialization

When you create a subscription for a table replication definition, rows that fit the subscription are copied from the primary to the replicate table in a process called materialization. After materialization is complete, Replication Server distributes row changes in the primary database through normal replication.

If a subscription involves many rows, materialization can hold locks for a long time and overload the network. Replication Server queues may also fill with data. To avoid these problems, Replication Server provides four different ways to materialize a subscription.

You can use any method for subscriptions to table replication definitions or to publications. Use nonmaterialization or bulk materialization for subscriptions to function replication definitions or database replication definitions.

For more information about subscription materialization methods, see the Replication Server Administration Guide Volume 1.

Atomic and nonatomic materialization commands

Use these commands to create a subscription and initialize data at the replicate database:

If you use nonatomic materialization, which selects primary data without a holdlock, you must also use:

Nonmaterialization command

Use this command to create a subscription when data is already in sync at the replicate database:

Bulk materialization commands

Bulk materialization is used to manually coordinate subscription status and to transfer data for function replication definitions or database replication definitions.

Use these commands for bulk materialization: