HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
With Datareplicator, you can also use HiRDB's inner replica facility to link data in RDAREAs.
When the inner replica facility is used, the update log is always output to the system log file whether the updated RDAREA is the original or a replica. Datareplicator extracts from this update log the log information corresponding to the source table ID.
If the target database uses the inner replica facility, you can import the data into the current RDAREA that is subject to data linkage (original or replica RDAREA) or into a specific generation of the database. You cannot specify a different target for each table. To import data into a specific database generation, specify the database with HiRDB's PDDBACCS environment variable.
The following figure shows data linkage for RDAREAs using the inner replica facility.
Figure 3-19 Data linkage for RDAREAs using the inner replica facility
To specify the method for extracting update log information, use the extract_level operand described in 5.3 Extraction environment definition. The relationship between the extract_level operand value and the update log information to be extracted is as follows:
Use the following guidelines to specify the extract_level operand based on the handling of inner replica:
| Handling of inner replica | extract_level operand value |
|---|---|
| The current RDAREA is always the master (source subject to extraction). | Specify extract_level=current_gen. |
| An RDAREA other than the current RDAREA can be the master (source subject to extraction). | Specify extract_level=all_gen when the disk is disconnected#. |
The following are guidelines for specifying the extract_level operand:
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.