NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
L-27
LOAD Command
The default is MAX 50000 unless an =_SORT_DEFAULTS DEFINE with VLM
ON is in effect. With VLM ON, the default is MAX 1000000. (See
=_SORT_DEFAULTS DEFINE on page Z-3 for more information about VLM.)
For loading indexes, LOAD estimates the maximum number of input records based
on the size of the base table, ignoring any value you specify for MAX.
SCRATCH scratch-file
(for loading only files or tables with key-sequenced file organization) identifies the
file to be used for temporary storage by the SORT process. scratch-file is a
Guardian name.
If you omit this option, LOAD creates and uses a scratch file on a volume FastSort
chooses by its characteristics. The default initial scratch volume is usually the
volume where the SORTPROG program file resides. To override the automatic
selection algorithm, specify an initial scratch file or volume in the SCRATCH
attribute of a =_SORT_DEFAULTS DEFINE.
When loading a very large table, you might want to use a partitioned scratch file.
Use the FUP CREATE command to create the scratch file and identify the file to
LOAD with the SCRATCH option or the =_SORT_DEFAULTS DEFINE.
If you specify the SORTED option, you do not have to specify the SCRATCH
option.
See the FastSort Manual for more information on how to specify and manage
scratch files.
DSLACK percent
(for loading only files or tables with key-sequenced file organization) specifies the
minimum percentage of space to be left in data blocks for future insertions. Specify
percent as a numeric literal from 0 through 99. If space is not available when an
insertion is made, a block split occurs.
If you omit this option, LOAD uses the SLACK percent value.
ISLACK percent
(for loading only files or tables with key-sequenced file organization) specifies the
minimum percentage of space to be left in index blocks for future insertions. Specify
percent as a numeric literal from 0 through 99. If space is not available when an
insertion is made, a block split occurs.
If you omit this option, LOAD uses the SLACK percent value.
SLACK percent
for key-sequenced targets only, specifies the minimum percentage of space to be left
in both index blocks and data blocks for future insertions. Specify percent as a
numeric literal from 0 through 99. If space is not available when an insertion is
made, a block split occurs.