25.09.2015 Views

Teradata Parallel Data Pump

Teradata Parallel Data Pump Reference - Teradata Developer ...

Teradata Parallel Data Pump Reference - Teradata Developer ...

SHOW MORE
SHOW LESS
  • 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 3: <strong>Teradata</strong> T<strong>Pump</strong> Commands<br />

BEGIN LOAD<br />

Syntax Element<br />

ERRLIMIT<br />

errcount<br />

CHECKPOINT<br />

Description<br />

Optional keyword for setting a limit on records rejected for errors.<br />

When the ERRLIMIT is exceeded, <strong>Teradata</strong> T<strong>Pump</strong> performs a<br />

checkpoint, then terminates the job. The data read before ERRLIMIT<br />

was exceeded will be submitted and completed before the job is<br />

terminated. This means when a job is terminated due to ERRLIMIT was<br />

exceeded, there may be more error records in the error table than the<br />

number specified in ERRLIMIT. To facilitate diagnosis of data errors,<br />

the ERRLIMIT should be greater than the number of statements packed<br />

into one request.<br />

Error threshold for controlling the number of rejected records. Usage<br />

depends on whether used with the errpercent parameter.<br />

• When used without the errpercent parameter, specifies, as an<br />

unsigned integer, the number of records that can be rejected and<br />

recorded in tname during a load (all records sent between the BEGIN<br />

LOAD and END LOAD commands). The default is no limit.<br />

• When used with the errpercent parameter (which is approximate),<br />

specifies the maximum number of records that must be sent to<br />

<strong>Teradata</strong> <strong>Data</strong>base before the errpercent parameter is applied.<br />

For example, if errcount = 100 and errpercent = 5, then 100 records must<br />

be sent to <strong>Teradata</strong> <strong>Data</strong>base before the approximate 5 percent rejection<br />

limit is applied. If only the first five records are rejected when the 100th<br />

record is sent, the limit is not exceeded. If there are six rejections,<br />

however, then the limit is exceeded. After the 100th record is sent,<br />

<strong>Teradata</strong> T<strong>Pump</strong> stops processing if the 5 percent limit has been<br />

exceeded.<br />

When the limit has been exceeded, <strong>Teradata</strong> T<strong>Pump</strong> writes an error<br />

message to the external system’s customary message destination and<br />

terminates the task.<br />

All tables in use are left in their state at the time of the termination. This<br />

allows errors to be corrected in data records and restarting of the task<br />

from the last checkpoint. If a restart is not possible or not desired, any<br />

unwanted tables should be dropped.<br />

Keyword indicating the number of minutes between the occurrences of<br />

checkpoints.<br />

This is followed by a frequency value.<br />

<strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference 99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!