This document describes best practices for using the Event Replicator Target Adapter. It covers the following topics:
To improve the performance of your Event Replicator Target Adapter installation consider the following suggestions.
Set the compression for data that comes from any webMethods EntireX sources to zero (0). This turns off compression entirely. Decompressing the compressed data, especially large quantities of data, will slow replication processing down. For more information about setting this compression value, read Defining a New webMethods EntireX Source Definition.
Try to maintain a one-to-one relationship between the number of Event Replicator Target Adapter engine threads and the number of active source definitions.
For more information about maintaining the configuration engine definition, read Maintaining the Event Replicator Target Adapter Engine Configuration.
Install the Event Replicator Target Adapter on a separate server from the relational database you will be updating.
Install the Event Replicator Server, the Event Replicator Target Adapter, and the target relational database on the same network segment.
If your target database is running in a cloud environment (e.g. AWS), you will get better performance if you also run your Event Replicator Target Adapter in the same cloud service.
In addition, read the other sections in this Best Practices documentation for information on improving the performance of initial-state processing.
If possible, use one of the Loaders provided with the Event Replicator Target Adapter for initial-state processing. At this time, support is provided for the Oracle SQL *Loader, the Microsoft SQL Server Bulk Copy (bcp) Utility, Teradata MultiLoad Utility, the DB2 CONNECT IMPORT Command and the PostgreSQL psql Utility.
In addition, if you are using a webMethods EntireX source, the initial-state process will run faster if the persistent store is turned off during the run. For more information on doing this, refer to your webMethods EntireX documentation.
If an initial-state process fails between the Event Replicator Server and the Event Replicator Target Adapter while using a Loader, complete the following steps:
Determine why the initial-state process failed and correct it. The log file or console messages will show errors after the initial-state process has started. No errors and the "Initial-State completed" message indicates that all is well.
Depending on the reason the initial-state process failed, you may need to drain the queue between the Event Replicator Server and the Event Replicator Target Adapter. To do this, you can use the etbivp or mqsivp tools, or any other methods for draining queues provided by webMethods EntireX Broker or MQ Series.
Depending on the reason the initial-state process failed, you may need to drop the relational database (RDBMS) tables using the appropriate RDBMS tool. Only the tables created or used by the particular initial-state process will need to be dropped.
Restart the initial-state process.