Help Q Replication and Event Publishing

Q subscriptions

You create objects called Q subscriptions to define how data from a single source table is replicated to a single target table or is passed to parameters in a stored procedure for data manipulation.

The Q subscription tells the replication programs which changes to capture from the source table, what queues to use for sending and receiving change messages, and how to process the messages. Figure 1 shows how a Q subscription connects a source table to a target table. Q subscriptions can also map DB2® sources to DB2 targets and DB2 sources to some non-DB2 targets. Figure 2 shows how a Q subscription connects a source table to a target table for non-DB2 targets.

Figure 1. Q subscription. Changes from a source table are replicated over WebSphere MQ queues to a target table.
The graphic shows a Q subscription.
Figure 2. Q subscription for non-DB2 targets. Changes from a source table are replicated over WebSphere MQ queues to a nickname that is mapped to a table in the non-DB2 target.
The graphic shows a Q subscription for non-DB2 targets.

You must create a Q subscription for each source-to-target pair. Each Q subscription is a single object that identifies the following information:

For Q subscriptions, you can specify the following options:

Q subscriptions for either bidirectional or peer-to-peer replication must replicate all columns in the source table. These types of replication also require specific types of conflict detection and conflict handling.

If you make changes to a Q subscription after you create it, you need to reinitialize it so that the Q Capture program reads the changes.



Send your feedback | Information roadmap | The Q+SQL Replication Forum

Update icon Last updated: 2013-10-25