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 1: Overview<br />

Operating Features and Capabilities<br />

<strong>Data</strong> Conversion Capabilities<br />

<strong>Teradata</strong> T<strong>Pump</strong> can redefine the data type specification of numeric, character, and date input<br />

data so it matches the type specification of its destination column in the <strong>Teradata</strong> T<strong>Pump</strong><br />

table on <strong>Teradata</strong> <strong>Data</strong>base.<br />

For example, if an input field with numeric type data is targeted for a column with a character<br />

data type specification, <strong>Teradata</strong> T<strong>Pump</strong> can change the input data specification to character<br />

before inserting it into the table.<br />

The datadesc specification of the <strong>Teradata</strong> T<strong>Pump</strong> FIELD command is used to convert input<br />

data to a different type before inserting it into a table on <strong>Teradata</strong> <strong>Data</strong>base.<br />

The types of data conversions which can be specified are:<br />

• Numeric-to-numeric (for example integer-to-decimal)<br />

• Character-to-numeric<br />

• Character-to-date<br />

• Date-to-character<br />

Note: Redundant conversions, such as integer-to-integer, are legal and necessary to support<br />

the zoned decimal format. For more information about the zoned decimal format, data types,<br />

and data conversions, see SQL <strong>Data</strong> Types and Literals.<br />

Checkpoints<br />

<strong>Teradata</strong> T<strong>Pump</strong> supports the use of checkpoints. Checkpoints are entries posted to a restart<br />

log table at regular intervals during the <strong>Teradata</strong> T<strong>Pump</strong> data transfer operation. If processing<br />

stops while a <strong>Teradata</strong> T<strong>Pump</strong> job is running, the job can be restarted at the most recent<br />

checkpoint.<br />

For example, assume 1,000,000 records are being loaded into a table and have specified<br />

checkpoints every 50,000 records. Then <strong>Teradata</strong> T<strong>Pump</strong> pauses and posts an entry to the<br />

restart log table whenever multiples of 50,000 records are successfully sent to <strong>Teradata</strong><br />

<strong>Data</strong>base.<br />

If the job stops after record 60,000 has been loaded, the job can be restarted at the record<br />

immediately following the last checkpoint—record 50,001.<br />

To enable the checkpoint function, specify a checkpoint value in the BEGIN LOAD command.<br />

For more information, see “BEGIN LOAD” on page 96.<br />

Unicode Character Sets<br />

UTF-8 and UTF-16 are two of the standard ways of encoding Unicode character data. <strong>Teradata</strong><br />

<strong>Data</strong>base supports UTF-8 and UTF-16client character sets. The UTF-8 client character set<br />

supports UTF-8 encoding. Currently, <strong>Teradata</strong> <strong>Data</strong>base supports UTF-8 characters that can<br />

consist of from one to three bytes. The UTF-16client character set supports UTF-16 encoding.<br />

Currently, <strong>Teradata</strong> <strong>Data</strong>base supports the Unicode 5.0 standard, where each defined<br />

character requires exactly 16 bits.<br />

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

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

Saved successfully!

Ooh no, something went wrong!