TPump is the shortened name for Teradata Parallel Data Pump. Fastload and Multiload are the loads that contain a 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.
Table of Contents |
It processes the data packet by packet
Trump supports One Error Table. The error table does the following:
Want to acquire industry skills and gain complete knowledge of Teradata? Enroll in Instructor-Led live Teradata Training to become Job Ready!
.Logtable myuser.tpump_yemp1;
.LOGON 127.0.0.1 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:TESTtpump_infile.txt
format vartext '|'
apply test_tpump;
.END LOAD;
.LOGOFF;
TPUMP | Multi load |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Read these latest Teradata Interview Questions that help you grab high-paying jobs |
a) In case of the old file to restart:
b)In case of the new file the restart:
Note: in case of the old file to restart if macros are available to execute macros directly by using exec or execute commands.
Exec<Macro Name>
For every DML commands, we require one macro
You liked the article?
Like: 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.