# Space Calculation Example - Parallel Data Pump

## Teradata® Parallel Data Pump Reference - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Parallel Data Pump
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-11-17
dita:mapPath
kpf1641281806652.ditamap
dita:ditavalPath
ovd1619195504008.ditaval
dita:id
ouq1478611619316
Product Category

The following example of how Teradata TPump log table space is derived takes a simple load that consists of the following script:

```LOGTABLE CME.TLddNT14H;
.LOGON OPNACC1/CME,CME;
DROP TABLE TBL14TA;
DROP TABLE TBL14TB;
DROP TABLE tlnt14err;
CREATE TABLE TBL14TA,FALLBACK
(ABYTEINT BYTEINT,
ASMALLINT SMALLINT,
AINTEGER  INTEGER,
ACHAR     CHAR (5),
ABYTE     BYTE(1),
AFLOAT     FLOAT,
UNIQUE PRIMARY INDEX (ASMALLINT);
CREATE TABLE TBL14TB,FALLBACK
(ABYTEINT BYTEINT,
ASMALLINT SMALLINT,
AINTEGER  INTEGER,
ACHAR     CHAR (5),
ABYTE     BYTE(1),
AFLOAT     FLOAT,
UNIQUE PRIMARY INDEX (ASMALLINT);
/*****************************************************************/
/* BEGIN TLOAD WITH ALL THE OPTIONS SPECIFIED SUCH AS ERRLIMIT, **/
/* CHECKPOINT, SESSIONS,TENACITY                                **/
/*****************************************************************/
.BEGIN LOAD ERRLIMIT 5 CHECKPOINT 15 SESSIONS 4 1 TENACITY 2
ERRORTABLE tlnt14err ROBUST ON PACK 20;
.LAYOUT LAY1A;
.FILLER ATEST    *  BYTEINT;
.FIELD ABYTEINT  *  BYTEINT;
.FIELD ASMALLINT *  SMALLINT;
.FIELD AINTEGER  *  INTEGER;
.FIELD ACHAR     *  CHAR (5);
.FIELD ABYTE     *  BYTE(1);
.FIELD AFLOAT    *  FLOAT;
.DML LABEL LABELA IGNORE DUPLICATE ROWS IGNORE MISSING ROWS
IGNORE EXTRA ROWS;
.DML LABEL LABELB IGNORE DUPLICATE ROWS IGNORE MISSING ROWS
IGNORE EXTRA ROWS;
.IMPORT INFILE ./tlnt014.dat
LAYOUT LAY1A FROM 1 FOR 400
APPLY LABELA WHERE ATEST = 1
APPLY LABELB WHERE ATEST = 2;