Bulk materialization overview

Sybase recommends that you use bulk materialization to materialize subscriptions to primary data in a non-Sybase database. When you use bulk materialization, you must coordinate and manually perform the following materialization activities:

There are two bulk materialization options for subscriptions to primary data in a non-Sybase database:

Atomic materialization overview

The atomic bulk materialization procedure consists of the following tasks:

  1. Stop updates to the primary table and dump the subscription data from the primary database.

  2. In the replicate Replication Server, define the subscription

  3. In the primary database, use the rs_marker stored procedure or invoke the Replication Agent ra_marker command to activate the subscription using the with suspension option.

  4. Load the subscription data into the replicate table.

  5. Resume the database connection from the replicate Replication Server to the replicate database.

  6. In the replicate Replication Server, validate the subscription.

NoteFor a complete step-by-step atomic bulk materialization procedure, see “Atomic bulk materialization procedure”.

Nonatomic materialization overview

The nonatomic bulk materialization procedure consists of the following tasks:

  1. In the replicate Replication Server, use the set autocorrection command.

  2. In the replicate Replication Server, define the subscription.

  3. In the primary database, use the rs_marker stored procedure or invoke the Replication Agent ra_marker command to activate the subscription using the with suspension option.

  4. Dump the subscription data from the primary database.

  5. In the primary database, use the rs_marker stored procedure or invoke the Replication Agent ra_marker command to validate the subscription.

  6. Load the subscription data into the replicate table.

  7. Resume the database connection from the replicate Replication Server to the replicate database.

  8. When the subscription becomes valid at all Replication Servers, turn off autocorrection.

NoteFor a complete step-by-step nonatomic bulk materialization procedure, see “Nonatomic bulk materialization procedure”.