Upsert Feature - Parallel Data Pump

Teradata® Parallel Data Pump Reference

Product
Parallel Data Pump
Release Number
17.10
Published
June 2021
Language
English (United States)
Last Update
2021-07-01
dita:mapPath
oqw1608578437373.ditamap
dita:ditavalPath
ovd1619195504008.ditaval
dita:id
B035-3021
lifecycle
previous
Product Category
Teradata Tools and Utilities

Teradata TPump’s upsert feature is a composite of UPDATE and INSERT functionality applied to a single row. Teradata TPump upsert logic is similar to that used in MultiLoad, the only other load utility with this feature. The DML statements required to execute each iteration of upsert are a single UPDATE statement, followed by a single INSERT statement.

With upsert, if the UPDATE fails because the target row does not exist, Teradata TPump automatically executes the INSERT statement. This capability can save considerable loading time by completing this operation in a single pass instead of two.