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

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

6.7.3 Notes on handling the target Datareplicator

This section provides important information about handling the target Datareplicator.

Organization of this subsection
(1) Notes on update processing
(2) Notes on initial start and partial initial start
(3) Notes on events
(4) Notes about tables for which the WITHOUT ROLLBACK option is specified
(5) Notes about tables for which the COMPRESSED option is specified

(1) Notes on update processing

(2) Notes on initial start and partial initial start

(3) Notes on events

(4) Notes about tables for which the WITHOUT ROLLBACK option is specified

The following prerequisites and limitations apply to data linkage on tables for which the WITHOUT ROLLBACK option is specified.

Prerequisites:
The prerequisites listed below must all be satisfied. If any of the prerequisites is not satisfied, an inconsistency might occur between the source and target databases.
  • The versions of the source and target Datareplicators are both 08-02 or later.
  • The source and target databases are both HiRDB.
  • nodemst is specified in the sendcontrol operand in the extraction system definition.
  • If the source and target databases are on a parallel server, the table for which the WITHOUT ROLLBACK option is specified and all tables related to that table are stored on the same back-end server.

Limitations:
The following limitations apply to data linkage on tables for which the WITHOUT ROLLBACK option is specified:
  • Data linkage is not supported for the following tables when the WITHOUT ROLLBACK option is specified:
    [Figure] Merge tables
    [Figure] Time-ordered information tables
    [Figure] Tables whose rows are partitioned among servers
    [Figure] Event control tables
  • Only the UPDATE SQL statement can be used to perform data linkage. Because the INSERT statement cannot be used for data linkage, use a program such as HiRDB Dataextractor to create the target database.
  • If the WITHOUT ROLLBACK option is specified for a table, its column specified for mapping keys cannot be updated.
  • Import errors cannot be skipped. Specify SQL coding to skip such errors.
  • The data linkage recovery facility is not supported. Recover data linkage errors individually.
(a) Notes about referencing the target database

For a table for which the WITHOUT ROLLBACK option is specified, one update operation is treated as one transaction. Therefore, if a table for which the WITHOUT ROLLBACK option is specified and a table for which the option is omitted are updated within the same transaction, the target Datareplicator sends and imports data as separate transactions. If the target database is referenced before all the transactions have been imported, an inconsistency might occur between the source and target databases. Therefore, make sure that the import processing has been completed# before you reference the target database.

Furthermore, if the target Datareplicator rolls back processing due to a failure, the contents of a table for which the WITHOUT ROLLBACK option is specified might not be refreshed temporarily while update information is being imported. Therefore, make sure that the import processing has been completed# before you reference the target database.

#
Make sure that read position and write position values that are displayed by executing the hdsstate are the same.
(b) Specification of the sendintvl operand in the transmission environment definition

For tables for which the WITHOUT ROLLBACK option is specified, one update operation is treated as one transaction. If 0 (send update information in units of transactions) is specified in the sendintvl operand in the transmission environment definition, transmission processing occurs each time a table for which the WITHOUT ROLLBACK option is specified is updated, resulting in a large overhead for transmission processing. Therefore, if you apply data linkage to tables for which the WITHOUT ROLLBACK option is specified, we recommend that you specify a nonzero value in the sendintvl operand in the transmission environment definition.

(5) Notes about tables for which the COMPRESSED option is specified

The following prerequisites apply to data linkage on tables for which the COMPRESSED option is specified.

Prerequisites:
The prerequisites listed below must all be satisfied. If any of the prerequisites is not satisfied, an inconsistency might occur between the source and target databases or import processing might result in an SQL execution error.
  • The versions of the source and target Datareplicators are both 08-06 or later.
  • The source and target databases are both HiRDB.
  • The same endian is used for both the source and the target database.
  • The compression specification is the same between the source and target tables.