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 2: Using <strong>Teradata</strong> T<strong>Pump</strong><br />
Restart and Recovery<br />
If the database for the error table is not explicit in the script, the table is placed in the database<br />
associated with the <strong>Teradata</strong> T<strong>Pump</strong> user logon, unless the DATABASE command has been<br />
issued.<br />
Continuing the above example, assuming the user defaults the error table, then the create table<br />
command for it will be:<br />
CREATE SET TABLE M20020530_171209_06222_001_ET,<br />
NO BEFORE JOURNAL,<br />
NO AFTER JOURNAL<br />
(<br />
ImportSeq BYTEINT,<br />
DMLSeq BYTEINT,<br />
SMTSeq BYTEINT,<br />
ApplySeq BYTEINT,<br />
sourceseq INTEGER,<br />
<strong>Data</strong>Seq BYTEINT,<br />
ErrorCode INTEGER,<br />
ErrorMsg VARCHAR(255) CHARACTER SET UNICODE NOT CASESPECIFIC,<br />
ErrorField SMALLINT,<br />
Host<strong>Data</strong> VARBYTE(63677))<br />
UNIQUE PRIMARY INDEX ( ImportSeq ,DMLSeq ,SMTSeq ,ApplySeq ,sourceseq ,<br />
<strong>Data</strong>Seq );<br />
Reinitialize a <strong>Teradata</strong> T<strong>Pump</strong> Job<br />
If the restart log table has been accidentally dropped or corrupted for a <strong>Teradata</strong> T<strong>Pump</strong> job,<br />
reinitialize the job using the following procedure:<br />
Reinitialize a <strong>Teradata</strong> T<strong>Pump</strong> Job<br />
1 Determine how much of the job has completed in order to take data out of the <strong>Teradata</strong><br />
T<strong>Pump</strong> input data set.<br />
How this is done will depend on the table and procedures involved with table<br />
maintenance. This will vary between jobs and with the procedures in effect at each<br />
customer site.<br />
2 Delete any database objects associated with the <strong>Teradata</strong> T<strong>Pump</strong> job that may exist. This<br />
cleans up <strong>Teradata</strong> T<strong>Pump</strong>.<br />
These objects include the error table and any DML-associated macros. Directions for<br />
finding these objects are provided in the previous section.<br />
Recover an Aborted <strong>Teradata</strong> T<strong>Pump</strong> Job<br />
An aborted <strong>Teradata</strong> T<strong>Pump</strong> job is one that has been terminated early for any number of<br />
reasons (out of database space, accidental cancellation by mainframe operators, UNIX kernel<br />
panic, error limit in the <strong>Teradata</strong> T<strong>Pump</strong> job exceeded, and so on) and all <strong>Teradata</strong> T<strong>Pump</strong><br />
database objects, the restart log table, the error table, and DML macros are intact.<br />
An aborted <strong>Teradata</strong> T<strong>Pump</strong> job may be restarted using the same job script that was used in<br />
the original job, and <strong>Teradata</strong> T<strong>Pump</strong> will perform the recovery of the job.<br />
<strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference 55