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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3: <strong>Teradata</strong> T<strong>Pump</strong> Commands<br />

LOGTABLE<br />

The log table is maintained automatically by <strong>Teradata</strong> T<strong>Pump</strong>. If this table is manipulated in<br />

any way, the restart capability is lost. The only action that should be taken is to DROP the log<br />

table; never attempt to delete rows from the table. The log table should not be dropped when<br />

the <strong>Teradata</strong> T<strong>Pump</strong> job using that log table is running. If the log table is dropped during a job<br />

run, <strong>Teradata</strong> T<strong>Pump</strong> will run into errors.<br />

The default for the database name cannot be overridden with a DATABASE statement because<br />

it must come after LOGTABLE/ LOGON. Instead, the LOGTABLE dbname option must be<br />

used.<br />

<strong>Teradata</strong> T<strong>Pump</strong> allows a DELETE DATABASE statement because DELETE is a standard<br />

<strong>Teradata</strong> SQL function. This statement can delete the current restart log after it has been<br />

created, which terminates the job.<br />

Example<br />

The following example presents both the LOGTABLE command and the LOGON command<br />

as they typically occur.<br />

.logtable Mine.Logtable001;<br />

.logon tdpx/me,paswd;<br />

Log Table Space Requirements<br />

The calculation of space requirements for a <strong>Teradata</strong> T<strong>Pump</strong> log table is highly dependent on<br />

the specifics of the job. Although there are mandatory inserts for every <strong>Teradata</strong> T<strong>Pump</strong> job,<br />

others occur on a job-dependent basis. See “Estimating Space Requirements” for details on<br />

how to calculate log table space.<br />

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

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

Saved successfully!

Ooh no, something went wrong!