This section describes setting the Capture program generally. See the appropriate chapter for your operating system environment (in Operations) for specific information about setting up the Capture program.
To control the performance of the Capture program, you can specify the following tuning parameters in the tuning parameters table:
For AS/400, you can keep the size of tables smaller by reorganizing them using the RGZPFM command.
Recommendation: Set a high value for the lag limit to ensure the Capture program does not shut itself down unnecessarily.
If the database does not have or support an archive log, and the Capture program shuts itself down, you should perform a cold start of the Capture program.
If the Apply program is not running at the same time as the Capture program, you can set the commit interval no higher than the DB2 timeout interval.
For AS/400, this value has a different meaning: it is the number of seconds between the time that an application program updates a source table and the time that the corresponding update in the CD table is written to disk. The commit interval can range from 30 to 600 seconds, and the default is 180. If the value is too small, overall system performance can be degraded.
For AS/400, you can override this value by specifying a value for the wait-time subparameter of the CLNUPITV keyword of the STRDPRCAP command. If you specify *NO on the start-clean-up subparameter of the CLNUPITV keyword, the prune interval value is completely ignored.
For AS/400, if you start up the Capture program daily, *NO allows you to defer pruning (for example, to the weekend). During the week, you can use CLNUPITV (*DPRVSN *NO) on the STDPRCAP command. On weekends, you can use CLNUPITV (*DPRVSN *IMMED), which is the default.
To specify the tuning parameters, do one of the following tasks:
UPDATE TABLE ASN.IBMSNAP_CCPPARMS SET RETENTION_LIMIT=number_of_minutes, LAG_LIMIT=number_of_minutes, COMMIT_INTERVAL=number_of_seconds, PRUNE_INTERVAL=number_of_seconds
If you need to change the values and refresh the tuning parameters while the Capture program is running, enter the reinit command after changing the table values. For AS/400, enter the INZDPRCAP command; for more information about the INZDPRCAP command, see Reinitializing Capture for AS/400.
For information on the structure of the tuning parameters table, see Table structures.
The following actions cause the Capture program to terminate while it is running. Stop the Capture program if you want to perform any of the following tasks:
Other Capture program restrictions include: