HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
This section explains the procedure for the design of the transmission procedure.
The source Datareplicator executes the following processing for each transmission target:
Additionally, the source Datareplicator uses the transaction management information buffer, which contains transaction management information, to manage the transaction completion status. The following figure provides an overview of the transmission procedure.
Figure 4-32 Overview of the transmission procedure
When the source Datareplicator starts, it allocates a transaction management information buffer in local memory. This section discusses how you estimate and specify the size of the transaction management information buffer.
When the source Datareplicator starts, it allocates extraction information queue I/O buffers for transmission in local memory. This section discusses how you estimate and specify the size and number of extraction information queue I/O buffers for transmission.
When the source Datareplicator starts, it allocates the update information editing buffer in local memory. This section discusses how you estimate and specify the size of the update information editing buffer.
The source Datareplicator sends the previous update information to the target in increments at a specified interval called the transmission interval. You use the sendintvl operand in the transmission environment definition to specify the transmission interval. The following figure provides an overview of the transmission interval for transmission processing.
Figure 4-33 Overview of transmission interval for transmission processing
If connection establishment with the target system fails, the source Datareplicator can retry the connection establishment; this is called connection retry. You use the retrynum operand in the transmission environment definition to specify the maximum number of times the source Datareplicator is permitted to retry connection establishment. If no connection retries count is specified, the source Datareplicator waits for the next transmission interval and attempts to establish connection until connection establishment is successful.
The source Datareplicator can send update information from one extraction environment to multiple destinations. However, if update information remains for some reason in the next extraction information queue file to be used, Datareplicator cannot swap extraction information queue files, making it impossible to extract the remaining update information from the system log file.
If the source Datareplicator cannot swap extraction information queue files, it cancels data linkage with the specified destination only, discards the corresponding update information from the next extraction information queue file to be used, and then swaps files. This is called reduced-mode transmission processing. You use the overwrite operand in the transmission environment definition to specify use of reduced-mode transmission processing.
The following figure shows the concept of reduced-mode transmission processing.
Figure 4-34 Concept of reduced-mode transmission processing
If update information remains in the next extraction information queue file to be used while Datareplicator cannot swap extraction information queue files, and reduced-mode transmission processing is specified for that update information's destination, Datareplicator stops only the corresponding transmission process and discards that update information only from the next extraction information queue file to be used. As a result, Datareplicator can then swap extraction information queue files and resume extracting update information from the system log file.
When reduced-mode transmission processing occurs, Datareplicator does not guarantee conformity between the source database and the target database at the destination that is subject to reduced-mode transmission processing. Therefore, you might have to re-create the target database at the destination.
If data linkage throughout the entire system is more important than conformity between the source database and the target databases at all destinations, specify reduced-mode transmission processing.
When Datareplicator cannot swap extraction information queue files, it stops extracting update information from the system log file until space becomes available in the next extraction information queue file to be used; space will become available when the update information the file contains has finally been transmitted to its target system. Therefore, conformity is guaranteed between the source and target databases.
If it is important to guarantee conformity between the source and target databases in the overall data linkage system, do not specify reduced-mode transmission processing.
When the source HiRDB is a parallel server, the source Datareplicator requires a transmission environment definition for each back-end server. In such a case, the source Datareplicator's transmission environment definition can include the environment common to all back-end servers and the environment for a specific back-end server.
You define the common environment under commondef and a specific environment under besdef(server-name) in the transmission environment definition. If you specify the same operand in both commondef and besdef(server-name), the specification in besdef is effective for the back-end server specified in besdef.
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.