HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide

[Contents][Glossary][Index][Back][Next]

4.6.3 Designing the extraction procedure

This section explains the design of the extraction procedure.

Organization of this subsection
(1) Designing the buffers to be used for extraction
(2) Designing an extraction error monitoring interval
(3) Designing the unit of extraction environment definition

(1) Designing the buffers to be used for extraction

The source Datareplicator uses a system log I/O buffer to read system log information from the system log file. The source Datareplicator takes from the system log information it has just read only the update information for the table subject to extraction processing, as specified in the extraction definition, and stores this information in an extraction information queue file. This is the use the source Datareplicator makes of the system log I/O buffer. The following figure provides an overview of the extraction procedure.

Figure 4-31 Overview of the extraction procedure

[Figure]

(a) System log I/O buffer

When the source Datareplicator starts, it allocates a system log I/O buffer in local memory. This section discusses how you estimate and specify the size of the system log I/O buffer.

Estimating the size of the system log I/O buffer

Specifying the size of the system log I/O buffer
(b) Extraction information queue I/O buffer for extraction

When the source Datareplicator starts, it allocates extraction information queue I/O buffers in local memory. This section discusses how you estimate and specify the size of the extraction information queue I/O buffer for extraction.

Estimating the size of the extraction information queue I/O buffer for extraction

Specifying the size of the extraction information queue I/O buffer for extraction

(2) Designing an extraction error monitoring interval

The source Datareplicator uses the extraction master process to monitor for errors in the extraction node master process, extraction process, and transmission process (transmission master process). Error detection is faster if you use a short error monitoring interval. However, if the error monitoring interval is too short, the workload required for communications with the server becomes high.

You use the watchintvl operand in the extraction system definition to specify the error monitoring interval.

(3) Designing the unit of extraction environment definition

If the source HiRDB is a parallel server, the source Datareplicator executes extraction processing for each back-end server. In such a case, the source Datareplicator's extraction 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 extraction environment definition. If you specify the same operand in both commondef and besdef(server-name), the specification in besdef is effective for the server specified in besdef.