MultiLoad Overview
MultiLoad Overview
Teradata MultiLoad, also called "MultiLoad," "MLoad" or "ML," is a command-driven parallel load
utility for high-volume batch maintenance on multiple tables and views of the Teradata Database.
It is specially designed for high-speed batch creation and maintenance of large databases.
[edit]
OVERVIEW
Teradata MultiLoad executes a series of MultiLoad commands and Teradata SQL statements
written in a batch mode job script or interactively entered. The MultiLoad commands provide the
session control and data handling specifications for the data transfer operations, and the
Teradata SQL statements perform the actual maintenance functions on the Teradata RDBMS
tables and views.
A single MultiLoad job performs a number of different import and delete tasks on database
tables and views:
Each MultiLoad import task can do multiple data insert, update, and delete functions on
up to five different tables or views;
Each MultiLoad import task can have up to 100 DML steps;
Each MultiLoad delete task can remove large numbers of rows from a single table.
If a MultiLoad job has only one import task, then Teradata FastLoad has to be chosen for it,
since FastLoad will finish it much faster. However, the FastLoad utility works only on empty
tables. A FastLoad job can not be used to:
Full tape support is not available for any function in MultiLoad for network-attached client
systems. To import data from a tape, a custom access module has to be written to interface with
the tape device.
[edit]
DATA SOURCE
Disk or tape files (using a custom Access Module) on a channel-attached client system;
Input files on a network-attached workstation;
Special input module (INMOD) routines that select, validate, and preprocess input data;
Access modules;
Any device providing properly formatted source data;
The table or view in the database receiving the data can be any existing table or view for which
the user has access privileges for the required maintenance tasks.
MultiLoad command IMPORT has an optional parameter FORMAT, which is used to specify the
format of the external data source. The format may be:
FASTLOAD;
BINARY;
TEXT;
UNFORMAT;
VARTEXT.
[edit]
OPERATING FEATURES
[edit]
Operating Modes
Interactive mode;
Batch mode.
In interactive mode, Teradata MultiLoad uses terminal screen and keyboard as the standard
output and input streams. In batch mode, MultiLoad uses > and < to redirect the standard output
/ input streams.
To invoke Teradata MultiLoad in interactive mode, enter the following command (for Microsoft
Windows):
c:\ncr\bin\MultiLoad
To invoke MultiLoad in batch mode, use the command below (for Microsoft Windows):
Here, the infile is a Teradata MultiLoad job script file which includes all the required MultiLoad
commands and Teradata SQL statements, whereas the outfile is the outfile is the output
stream file.
[edit]
Character Sets
Teradata MultiLoad supports Latin, Chinese, Japanese and Korean character sets, along with
ASCII, EBCDIC, UTF-8 and UTF-16. It also supports user-defined session character sets.
[edit]
Task Status Reporting
Teradata MultiLoad has three reporting methods to monitor the status of jobs that are still in
progress and those that have just completed:
MultiLoad utility messages provide job status reports, including:
Options messages that list the settings of MultiLoad task parameters;
Logoff/disconnect messages that list key run statistics.
QrySessn (ie., Query Session Utility) provides real-time, phase-oriented progress reports
at selected intervals during the MultiLoad job;
Statistics messages present information at the end of the MultiLoad job.
[edit]
Data Conversion Capabilities
Teradata MultiLoad can redefine the data type specification of input data to match it with that of
the destination column in the MultiLoad table on the target database. MultiLoad data conversion
types are:
Use the DATADESC specification of the MultiLoad FIELD command to convert input data to a
different data type before inserting it into the MultiLoad table on the Teradata Database.
Note: Redundant conversions, like integer-to-integer, are legal and necessary to support the
zoned decimal format.
[edit]
MULTILOAD COMMANDS
This section is based on Teradata documentation[1], and for the detailed usage, please refer to
Reference 1.
[edit]
MultiLoad Command Summary
MultiLoad supports a subset of Teradata SQL statements in order to define and manipulate the data
stored in the Teradata Database. Consequently, other utilities do not have to be invoked to perform
routine database maintenance functions before executing MultiLoad utility tasks. The Teradata SQL
statements supported by Teradata MultiLoad are listed below:
REPLACE VIEW
MultiLoad supports a subset of Teradata SQL statements in order to define and manipulate the data
stored in the Teradata Database. Consequently, other utilities do not have to be invoked to perform
routine database maintenance functions before executing MultiLoad utility tasks. The Teradata SQL
statements supported by Teradata MultiLoad are listed below:
REPLACE VIEW
[edit]
VERSION & PLATFORM INFO
Teradata MultiLoad runs on MP-RAS, AIX, HP-UX, Linux, Solaris, Windows XP/2000/NT/2003
where client systems are connected to Teradata RDBMS through network. It also operates on
Channel-attached client systems with VM and MVS operating systems.
[edit]
Current Version
Teradata MultiLoad V. 7.9 (included in Teradata Tools And Utilities Release 8.2)
[edit]
REFERENCE