0% found this document useful (0 votes)
2K views15 pages

BMC LOADPLUS Utility - Introduction

The BMC LOADPLUS utility replaces many functions of the IBM DB2 LOAD utility and provides additional loading capabilities. It uses advanced techniques to load data faster than the IBM utility. LOADPLUS analyzes resources, indexes, and data to optimize the loading process. It can perform loading in a single phase or two phases. The utility allocates resources, loads data into tables, handles errors, and creates copies more efficiently than the IBM LOAD utility.

Uploaded by

kaanalneer01
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views15 pages

BMC LOADPLUS Utility - Introduction

The BMC LOADPLUS utility replaces many functions of the IBM DB2 LOAD utility and provides additional loading capabilities. It uses advanced techniques to load data faster than the IBM utility. LOADPLUS analyzes resources, indexes, and data to optimize the loading process. It can perform loading in a single phase or two phases. The utility allocates resources, loads data into tables, handles errors, and creates copies more efficiently than the IBM LOAD utility.

Uploaded by

kaanalneer01
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 15

BMC LOADPLUS Utility –

Introduction
LOADPLUS Solution
 The BMC Software LOADPLUS for DB2
product replaces most of the functions of
the IBM DB2 LOAD utility and provides
several additional functions.
 Advanced techniques and additional
functions allow LOADPLUS to load more
types of data faster than the IBM DB2
LOAD utility does.
LOADPLUS Performs
 Resources
 analyzes and allocates memory and CPU resources for maximum throughput
 optionally analyzes data set resources that are needed for the specific load job
 optionally allocates input, load data, index work, sort work, discard, error, and
copy files dynamically
 Indexes
 optionally reorganizes the participating indexes
 optionally updates indexes, which can improve performance when loading a
small number of rows into an existing table that has a large number of rows
 Performance
 optionally provides single-phase load processing, which combines the PRELOAD
and LOAD phases into one phase (the COMBINED phase)
 provides an option to improve performance by not sorting the data or clustering
index if the data is already in correct clustering index sequence
LOADPLUS Performs
 Availability
 provides an option for the utility to pause in its processing before the data is
loaded if any input records are discarded
 provides an option to leave tables in read-only status while loading your data
 provides an option to leave tables in read/write status while loading your data
 Loading Data
 loads data from one or more data sets into one or more tables or table space
partitions in a single command execution, either replacing or adding to the
existing data
 avoids adding rows and keys to the table spaces and indexes if they cause
duplicate keys in a unique index, so that the rows and keys do not need to be
deleted later in the LOAD phase
 Copies
 with a self-contained copy function, produces image copies or DSN1COPYs
concurrently with the load
 optionally produces inline image copies as it loads your tables, rather than
DSN1COPYs or image copies after it loads your tables
Difference between LOADPLUS
and IBM Load
 LOADPLUS combines RELOAD, INDEXVAL, DISCARD, REPORT, SORT, BUILD, or
SORTBLD into the PRELOAD and LOAD phases for a two-phase load, and into the
COMBINED phase for a single-phase load.
 For segmented table spaces, you can specify LOAD RESUME YES INTO TABLE
name REPLACE to load just the tables in which you want to replace data, leaving the
other tables intact.
 LOADPLUS optimizes the processing of INTO PART statements by combining
statements that are the same. For example, if you specify INTO PART 1 twice on the
same LOAD command, LOADPLUS combines these statements into a single INTO
statement and loads one set of rows. In contrast, the IBM DB2 LOAD utility loads two
sets of rows into partition 1 in this example.
 LOADPLUS does not have an ENFORCE CONSTRAINTS option for referential
integrity violations. Instead, LOADPLUS places the affected table spaces in CHECK
pending status.
Difference between LOADPLUS
and IBM Load
 When you specify COPY NO, LOADPLUS places the table space in COPY pending status only if the value of
COPYPEND is YES. If the value of COPYPEND is NO, LOADPLUS does not place the table space in COPY
pending status.
 LOADPLUS uses work files until it loads all the data. Therefore, the work files should not be temporary data sets
if you want to be able to restart the job.
 To restart the IBM Load utility,
 RESTART(PHASE)
 RESTART(CURRENT).
Has to be specified in the UTPROC Parm.
//LKPKTRAA EXEC PROC=DB2UTILB,
// UID='D816AA.TADJ',
//* UTPROC='RESTART(PHASE)',
// SSID=&SSID,NODE=&NODE
 To restart the BMC LOADPLUS Utility
 RESTART
 RESTART(PHASE)
 NEW (!)
 NEW/RESTART
Has to be specified in the RESTART parameter
//STEP01 EXEC BMCLOAD,
// SSID=DST2,NODE=TESTDRM,
// UTILID=D865AA.TDWSSCN,
// RESTART='NEW/RESTART'
Difference between LOADPLUS
and IBM Load
 To Terminate a BMC Utility
 //STEP01 EXEC BMCLOAD,
 // SSID=DST2,NODE=TESTDRM,
 // UTILID=D865AA.TDWSSCN,
 // RESTART=‘TERM'
 All BMC Utilities are entered in the table CMN_BMCUTIL owned by BMCUTIL
 To Terminate any IBM Utility, use the DB2 Command from option 7 in the
DB2I Menu
 - TERM UTIL(UTILID)
 All IBM utilities are entered in the DB2 Directory table SYSIBM.SYSUTILX.
This table cannot be queried and the only way to get the entries is by using
the DB2 command
 - DIS UTIL(*)
LOADPLUS Execution Phases
 UTILINIT
 This phase initializes the job; reads, parses, and verifies the LOAD command,
performs DB2 catalog lookup
 ANALYZE
 This optional phase analyzes the objects that are being loaded and optionally
produces statistics to help determine data set size for allocating those data sets.
 PRELOAD
 This phase reads data from the input data sets. In this phase, LOADPLUS
converts data as needed and verifies that the data is correct, builds DB2 rows in
the SORTOUT data set, builds index information in the SYSUT1 data set, and
writes any input records that are in error to the SYSDISC discard data set. The
PRELOAD phase also builds the compression dictionary and compresses the
data rows.
LOADPLUS Execution Phases
 LOAD
 LOADPLUS reads the rows from the SORTOUT and SYSUT1 data sets and
loads the data into the table space and indexes. This phase invokes BMCSORT
for indexes that are not sorted in the PRELOAD phase. The LOAD phase creates
any requested copies and registers them with the DB2 catalog.
 COMBINED
 This phase combines all functions of the PRELOAD and LOAD phases into a
single processing phase. The COMBINED phase avoids the intermediate steps
of writing to the SORTOUT and SYSUT1 data sets either by writing data directly
to the table space and index space or by sending data directly to Apply Plus for
inserting to the table space and index space.
 UTILTERM
 This phase performs cleanup tasks. In this phase, LOADPLUS sets the pending
status of all affected tables and table spaces and updates the BMC Software
BMCHIST table, the BMCSTATS tables and the DB2 catalog statistics. In
addition, for LOAD REPLACE SHRLEVEL REFERENCE and for LOAD
REPLACE SHRLEVEL CHANGE, this phase performs the rename and delete
operations that are associated with the staging data sets.
LOADPLUS
Execution
Phases –
Two phase
LOADPLUS
Execution
Phases –
One phase
LOADPLUS Datasets
LOADPLUS Datasets
IBM Load
execution
Phases
Thanks for your time
& To be continued …

You might also like