NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
P-9
Specifying Configuration for Parallel Index Loading
CPU ( num [, num ] ... )
is valid only if INDEX or BASETABLE is specified. CPU specifies one or more
local or remote CPUs for the record generator or sort process. You can specify
multiple CPUs only for DEFAULT CPUs.
NOSCRATCHON ( scratchvol [, scratchvol ] ...)
is valid only if INDEX is specified. NOSCRATCHON specifies one or more
volumes to be excluded as overflow scratch volumes for the sort process. FastSort
also uses this list if you do not specify an initial set of scratch volumes (with the
SCRATCH option). The NOSCRATCHON option can be used as a DEFAULT
specification or for a specific partition. You cannot specify both NOSCRATCHON
and SCRATCHON.
If you specify NOSCRATCHON, SQL excludes $SYSTEM and TM/MP audit
volumes from the overflow set as well as the volumes in your list. If ServerWare
SMF is installed on your node, you can specify only physical volumes for
NOSCRATCHON.
The scratchvol specification can include wild-card characters (* and ?).
NUMRECS ( number )
is valid only if INDEX is specified and specifies the approximate number of records
to be loaded into the index partition. This number is used to calculate the scratch file
size, as described in the FastSort Manual. If this number is too small, the sort
process might fail with sort error 30 and file-system error 45 (File is full). Use this
attribute if the index is not partitioned evenly across all volumes.
PRI ( priority )
is valid only if INDEX or BASETABLE is specified, and specifies the priority at
which the record generator or sort process is to run.
PROGRAM ( file-name )
specifies the name of a local or remote SORTPROG object file if BASETABLE is
also specified, or specifies the name of a local or remote RECGEN object file if
INDEX is also specified. The associated swap volume must reside on the same node
as the object file.
SCRATCH ( scratchvol [, scratchvol ]... )
is valid only if INDEX is specified. SCRATCH specifies the name of an initial local
or remote scratch volume or volumes where the sort process can sort index records.
When you specify a list of scratch volumes in a DEFAULT specification, FastSort
assigns one volume to each sort process (each associated with a partition) in a
sequential fashion. If there are more partitions than volumes, FastSort reuses the list
as needed until all partitions have an initial scratch volume assigned.
The SCRATCH option specifies volumes for use as initial scratch volumes. This is
not the same as overflow handling. To specify a set of volumes for overflow, use the