TPump is shortened name for Teradata Parallel Data Pump. Fastload and Multiload are the loads which contains huge volume of data. But TPump loads data one row at a time, using row hash locks. Because it locks at this level,and not at the table level like MultiLoad, TPump can make many simultaneous, or concurrent, updates on a table.

TPump performs Inserts, Updates, Deletes and Upserts from Flat filed to populated Teradata tables at ROW LEVEL.

TPump supports

TPUMP structure and process

It process the data packet by packet


  • TPUMP Structure is similar to multi load
  • TPUMP does not Run in phases But it creates macro for every DME Operation
  • This macros performs loading of data

Tpump supports One Error Table. The error table does the following:

  • Identifies errors
  • Provides some detail about the errors
  • Stores a portion the actual offending row for debugging

Like the other utilities, a TPump script is fully restartable as long as the log table and error tables are not dropped

Inclined to build a profession as Teradata Developer? Then here is the blog post on 

Teradata Training Online.


  • SET
  • DML

TPUMP Example:

.Logtable myuser.tpump_yemp1;

.LOGON myuser,myuser1;

 DATABASE myuser;

.NAME test_tpump;

.BEGIN LOAD session 1 pack 2

 errortable ytpump_ET;

.LAYOUT infile1;

.field f0 * varchar(10);

.field f1 * varchar(20);

.field f2 * varchar(10);

.dml label test_insert;

insert into test_tpump

values (:f0,:f1,:f2);

.IMPORT INFILE c:\TEST\tpump_infile.txt

 format vartext '|'

 apply test_tpump;



Difference between TPUMP and Multi load

                        TPUMP                     Multi load

  • Loads  60 or more table(max 64 Tables)

  • Loads max 5 Tables

  • Does not Runs in phases But create macros for DML Operations

  • Runs in 5 phases

  • No limitation in parallel Running of script

  • max 5 script of ML,FL exp at a time

  • Locks at Row level

  • Locks at Tables level

  • Process packet by packet

  • Process block by block

  • Len volume of data loading

  • Huge volume of data loading

  • Supports USI, RI sand Triggers data loading

  • Does not support


Learn more about Teradata Interview Questions in this blog post.

Limitations of TPUMP

  • No concatenation of input data files is allowed.
  • TPump will not process aggregates, arithmetic functions or exponentiation.
  • The use of the SELECT function is not allowed.
  • No more than four IMPORT commands may be used in a single load task.
  • Dates before 1900 or after 1999 must be represented by the yyyy format for the year portion of the date, not the default format of yy.
  • On some network attached systems, the maximum file size when using TPump is 2GB.
  • TPump performance will be diminished if Access Logging is used.

TPUMP Error Handling

TPUMP Script is failed and error tables are available then how do we restart?

a) In case of old file to restart:

  • Do not Drop error, log tables & macros
  • Rectify the error in the script or file and Run freshly

b)In case of new file the restart:

  1. DROP error & Log tables & macros
  2. Specify a new file in the script and Run freshly

Note -  in case of old file to restart if macros are available execute macros directly by using exec or execute commands.

Exec<Macro Name>

For every DML commands we require one macro

For Indepth knowledge on Teradata click on: