Teradata Parallel Data Pump
Teradata Parallel Data Pump Reference - Teradata Developer ...
Teradata Parallel Data Pump Reference - Teradata Developer ...
- 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 2: Using <strong>Teradata</strong> T<strong>Pump</strong><br />
Estimating Space Requirements<br />
LogDB = :LogDB AND<br />
Import = :Import AND<br />
LogTable = :LogTable<br />
);<br />
; UPDATE SysAdmin.T<strong>Pump</strong>StatusTbl<br />
SET<br />
RequestChange = :RequestChange,<br />
StmtsUnLimited = :StmtsUnLimited,<br />
StmtsDesired = :StmtsDesired,<br />
PeriodsDesired = :PeriodsDesired<br />
WHERE<br />
UserName = USER AND<br />
LogDB = :LogDB AND<br />
LogTable = :LogTable AND<br />
Import = :Import ;<br />
Estimating Space Requirements<br />
This section discusses space requirements for the <strong>Teradata</strong> T<strong>Pump</strong> log table.<br />
A row of approximately 200 bytes is written to the log table on each of the following events.<br />
• One row is written at initialization.<br />
• One row is written for each SQL statement issued through the <strong>Teradata</strong> T<strong>Pump</strong> support<br />
environment.<br />
• One row is written at the BEGIN LOAD command.<br />
• One row is written at the END LOAD command.<br />
• Two rows are written for each IMPORT command.<br />
• One row is written for each statement used in a load (between the BEGIN LOAD<br />
command and the END LOAD command).<br />
• One row is written for each checkpoint taken.<br />
• In the ROBUST mode, for each packed request, a number of partial checkpoint rows are<br />
written to the log between checkpoints. The rows are deleted each time a checkpoint is<br />
written.<br />
The partial checkpoint row contains 117 + (12 * packfactor) bytes per transaction. So the<br />
number of partial checkpoints will vary, depending on the checkpoint frequency, the power of<br />
the loading host, and the power of the <strong>Teradata</strong> target database.<br />
Thus, an equation for the space is:<br />
200 + 200 * each statement in the support environment + 400 * each BEGIN/END LOAD +<br />
200 * each statement issued as DML + 200 * the estimated number of checkpoints + (117 +<br />
(12 * packfactor)) * the number of partial checkpoints. A simplified version would be:<br />
R = 200 + 200S + 400L + 200D + 200C + (117 + (12P))N,<br />
where:<br />
R = Required space for <strong>Teradata</strong> T<strong>Pump</strong> log table<br />
<strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference 85