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

LOGTABLE<br />

Purpose<br />

Caution:<br />

The LOGTABLE command identifies the table to be used for journaling checkpoint<br />

information required for safe, automatic restart of the <strong>Teradata</strong> T<strong>Pump</strong> support environment<br />

in the event of a client or <strong>Teradata</strong> <strong>Data</strong>base hardware platform failure.<br />

The LOGTABLE command is used in conjunction with the LOGON command, both of which<br />

are required. Both LOGON and LOGTABLE may appear in any order. The ACCEPT and SET<br />

commands are valid commands preceding LOGON and LOGTABLE commands. If LOGON is<br />

entered first, a warning is returned that the LOGTABLE is required.<br />

Do not share the restart log table between two or more <strong>Teradata</strong> T<strong>Pump</strong> jobs. Each <strong>Teradata</strong><br />

T<strong>Pump</strong> job must have its own restart log table to ensure that it runs correctly. If a distinct<br />

restart log table for each <strong>Teradata</strong> T<strong>Pump</strong> job is not used, the results are unexpected. In<br />

addition, one or more of the affected jobs may not be able to restart.<br />

Syntax<br />

.LOGTABLE<br />

dbname.<br />

tname<br />

;<br />

3021A029<br />

where<br />

Syntax Element<br />

dbname<br />

tname<br />

Description<br />

(Optional) <strong>Data</strong>base name under which the log table exists<br />

The default is the database name associated with the username specified in the<br />

LOGON command. <strong>Teradata</strong> T<strong>Pump</strong> searches for the table (tname) in that<br />

database unless another database name is specified in this option.<br />

Identifier for the restart log table<br />

Usage Notes<br />

A LOGTABLE command is required for each invocation of <strong>Teradata</strong> T<strong>Pump</strong>. Only a single<br />

LOGTABLE command is allowed for each execution. It must precede all environmental and<br />

application commands (other than RUN FILE and LOGON) in the input stream.<br />

The specified table is used as the <strong>Teradata</strong> T<strong>Pump</strong> restart log. It does not have to be fully<br />

qualified. If the table exists, it is examined to determine if this is a restart. When this is the<br />

case, a restart is done automatically. If the table does not exist, it is created and used as a restart<br />

log during this invocation of <strong>Teradata</strong> T<strong>Pump</strong>.<br />

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

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

Saved successfully!

Ooh no, something went wrong!