Using bulk materialization

When you use bulk materialization, you must:

NoteReplication Agent for DB2 does not support use of the DB2 LOAD LOG YES utility to assist in replicate materialization.

Three bulk materialization methods are available. The method you use depends mainly on whether one of the following conditions exist at your site:

The following table summarizes bulk materialization methods:

Table 2-4: Summary of bulk materialization methods

Bulk materialization method

Summary of materialization process

Subscription data already exists in the replicate database

If the subscription data already exists at the replicate site, you must verify that it is consistent with the primary data and then define, activate, and validate the subscription.

Atomic materialization

This method prevents client applications from executing transactions against the primary data while the subscription data is unloaded.

After defining the subscription, lock the primary data, retrieve the subscription data, activate the subscription, and unlock the primary data. Use this method to retrieve data from the primary database, if you are able to suspend updates to the primary data.

Nonatomic materialization

This method allows client applications to execute transactions against the primary data while the subscription data is unloaded. If you use this method, the data at the replicate database may be inconsistent with the data at the source database. Use this method only if you are unable to suspend transactions on the source database.