Teradata Parallel Data Pump
Teradata Parallel Data Pump Reference - Teradata Developer ...
Teradata Parallel Data Pump Reference - Teradata Developer ...
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Chapter 5: Using INMOD and Notify Exit Routines<br />
Overview<br />
INMOD Routine Compatibility with Other Load Utilities<br />
FDL-compatible INMOD routines that were created for FastLoad by including the<br />
FDLINMOD parameter as the USING (parms) option of the IMPORT command can be used.<br />
Using this parameter provides compatible support operations except for the way<br />
checkpointing is performed:<br />
• If a <strong>Teradata</strong> T<strong>Pump</strong> job uses the FROM, FOR, or THRU options to request a range of<br />
records from an FDL-compatible INMOD routine, then <strong>Teradata</strong> T<strong>Pump</strong> bypasses any<br />
default record checkpoint function. By default, <strong>Teradata</strong> T<strong>Pump</strong> takes a checkpoint every<br />
15 minutes. The <strong>Teradata</strong> T<strong>Pump</strong> checkpoint function can be bypassed by specifying a<br />
CHECKPOINT rate of zero in your BEGIN LOAD commands.<br />
If <strong>Teradata</strong> <strong>Data</strong>base experiences a restart/recovery operation, <strong>Teradata</strong> T<strong>Pump</strong> starts over<br />
and gets the records again from the beginning of the range.<br />
Under these same circumstances, if a BEGIN LOAD command included a CHECKPOINT<br />
rate other than zero, <strong>Teradata</strong> T<strong>Pump</strong> terminates with an error condition.<br />
• If a <strong>Teradata</strong> T<strong>Pump</strong> job does not request a range of records, then <strong>Teradata</strong> T<strong>Pump</strong><br />
performs checkpointing either by default (every 15 minutes) or per the job specifications.<br />
If <strong>Teradata</strong> <strong>Data</strong>base experiences a restart/recovery operation and the INMOD routine<br />
supports recovery, <strong>Teradata</strong> T<strong>Pump</strong> continues the data acquisition activity from the last<br />
recorded checkpoint.<br />
Note, however, that the source sequence numbers generated by <strong>Teradata</strong> T<strong>Pump</strong> may not<br />
correctly identify the sequence in which the INMOD routine supplied the records. The<br />
data is still applied correctly, however, despite this discrepancy.<br />
An FDL-compatible INMOD routine cannot be specified with the INFILE specification of a<br />
<strong>Teradata</strong> T<strong>Pump</strong> IMPORT command.<br />
When an INMOD routine is specified with the INFILE specification:<br />
• <strong>Teradata</strong> T<strong>Pump</strong> performs the file-read operation<br />
• The INMOD routine acts as a pass-through filter<br />
The combination of an FDL-compatible INMOD routine with a <strong>Teradata</strong> T<strong>Pump</strong> INFILE<br />
specification is not valid because an FDL-compatible INMOD routine must always perform<br />
the file read operation.<br />
Checkpoints<br />
To support <strong>Teradata</strong> T<strong>Pump</strong> restart operations, the INMOD routine must support checkpoint<br />
operations, as described in “The <strong>Teradata</strong> T<strong>Pump</strong>/INMOD Routine Interface” on page 206.<br />
If an INMOD routine that does not support the checkpoint function is used, the job may<br />
encounter problems when <strong>Teradata</strong> T<strong>Pump</strong> takes a checkpoint.<br />
By default, <strong>Teradata</strong> T<strong>Pump</strong> takes a checkpoint every 15 minutes. The <strong>Teradata</strong> T<strong>Pump</strong><br />
checkpoint function can be bypassed by specifying a CHECKPOINT rate of zero in the<br />
BEGIN LOAD command; that way, the job completes without taking a checkpoint.<br />
Though this would nullify the <strong>Teradata</strong> T<strong>Pump</strong> restart/reload capability, it would allow an<br />
INMOD routine that does not support the checkpoint function to be used.<br />
212 <strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference