Using multiple file transfer queues when replicating column-organized tables
You might improve replication performance for column-organized tables when the network is a bottleneck by using multiple file transfer queues for data transmission. This configuration might be particularly beneficial when the replication source and target are hundreds or even thousands of miles apart.
Before you begin
The user ID that performs this task must have dsadm authority on the source database.
About this task
When you invoke this feature, replication automatically creates up to four pipelines, each with its own IBM® MQ send queue, receive queue, and channel, to fully saturate the bandwidth between the source and target systems. It enables highly parallel file transfer that is especially effective when the systems are separated by long distances.
Using a single pipeline requires the source capture process to wait for the target apply process to acknowledge receipt of a file that contains the replicated data. With multiple pipelines, the capture process can continue to send files by writing to the send queues in random order without needing to wait for acknowledgment. This boosts replication performance when handling massive table inserts of hundreds of thousands of rows at a time.
The default parallel degree is 4. The parallel degree feature uses a script, bludr-config-mq-file-transfer-degree.sh, that enables you to set or change the degree or display the current degree that is being used. For the full syntax, see bludr-config-mq-file-transfer-degree.sh script. You can also set or change the degree of parallelism by using the replication REST APIs.