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

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

6.11.2 Estimating the command execution time when large files are used

When queue files are handled as large files, the execution times of the following commands are increased:

Organization of this subsection
(1) Estimation formula for hdestart (start the source Datareplicator)
(2) Estimation formula for hdemodq (modify the organization of extraction information queue files)
(3) Estimation formula for hdsstart (start the target Datareplicator)
(4) Estimation formula for hdefcopy and hdsfcopy (copy the current file)

(1) Estimation formula for hdestart (start the source Datareplicator)

When the -i init option is specified, the command execution time becomes longer.


Initial creation time for extraction information queue file (microseconds) =
[Figure] unit(T_UNIT)
T_UNIT = [Figure] svr(T_SVR)
T_SVR = [Figure] que(T_QUE)
T_QUE = DiskW x size of queue file (KB)/1024

Note:
During initialization, specify the maximum value of the initial creation time for all extraction information queue files per unit (T_UNIT) as the communication wait time in the extraction system definition (cmwaittime operand value).
If processing is not terminated within the communication wait time in the extraction system definition (cmwaittime operand value) and an error (KFRB00607-E) occurs, increase the communication wait time, and then re-execute the command.

(2) Estimation formula for hdemodq (modify the organization of extraction information queue files)

When the -a option is specified, the command execution time becomes longer.


Additional registration time for extraction information queue file (microseconds) = DiskW x size of queue file (KB)/1024

(3) Estimation formula for hdsstart (start the target Datareplicator)

When the -i init option is specified, the command execution time becomes longer.


Initial creation time for import information queue file (microseconds) = [Figure] que(T_QUE) + [Figure] sts(T_STS)
T_QUE = DiskW x size of queue file (KB)/1024
T_STS = DiskW x size of status file (KB)/1024

(4) Estimation formula for hdefcopy and hdsfcopy (copy the current file)


Current file copying time (microseconds)
= DiskR x size of source file (KB)/1024
+ DiskW x size of target file (KB)/1024

Note:
The size of a file to be copied is determined as follows:
File type File to be copied Size
Regular file All Size of source file during command execution
Character special file Extraction information queue file queuesize operand value specified in the extraction environment definition
Import information queue file queuesize operand value specified in the import environment definition
Other Size of source file during command execution