NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
P-8
Specifying Configuration for Parallel Index Loading
LOCALONLY
directs SQL to run the parallel load operation and all associated sort processes on
the node where the operation was initiated. Use the LOCALONLY option to
preserve software behavior available in NonStop SQL/MP versions prior to version
315.
If you do not specify LOCALONLY, each SORTPROG or RECGEN process runs
on the node where the associated partition resides.
If you specify LOCALONLY, it must be the first CREATEINDEX statement in the
configuration file.
BASETABLE
indicates attributes apply to processes that read the base table partition.
INDEX
indicates attributes apply to sort processes that write to the index partition.
DEFAULT [node-name] default-attr
specifies a node name and attribute value for all partitions on a specific node for
which another value is not explicitly specified. If you do not specify node-name,
SQL applies the DEFAULT statement to the node where the parallel index load is
initiated.
partition
specifies the name of the volume (including a node, if desired) that contains the
partition to which the attributes apply. For example:
$MYVOL
\NWREG.$SALES1
The default is the local node.
attr is:
[ CPU ( num ) ]
[ NOSCRATCHON (scratchvol[, scratchvol]...) ]
[ NUMRECS ( number ) ]
[ PRI ( priority ) ]
[ PROGRAM ( file-name ) ]
[ SCRATCH ( scratchvol [, scratchvol ]...) ]
[ SCRATCHON (scratchvol [, scratchvol]...) ]
[ SWAP ( swapvol ) ]