specifies
the number of parallel threads to create for a parallel sort operation.
Threading
for sorting data in parallel is a resource-intensive process that
behaves differently from threaded processing. Use MAXSORTTHREADS=
to specify the number of parallel threads that you want to create
for each parallel sort. Use caution when assigning values for MAXSORTTHREADS=.
If a parallel sort uses one thread for every CPU on the server, the
sort job might starve other jobs of resources.
For better
performance during parallel sort operations, SPD Server recommends
that you configure values for SORTSIZE= (in MB) and MAXSORTTHREADS=
(in number of threads) so that the ratio of SORTSIZE= to MAXSORTTHREADS=
is between 256 MB per thread and 1 GB per thread.
Use MAXSORTTHREADS=
with MAXWHTHREADS= to balance your system load. Parallel sorting tends
to be a resource-intensive process, while parallel WHERE processing
tends to be more I/O intensive. In most cases, parallel WHERE processing
tasks require more threads than parallel sorting tasks.
If no
value is specified for MAXSORTTHREADS=, SPD Server by default assigns
MAXSORTTHREADS= the value that MAXWHTHREADS= is set to.
MAXSORTTHREADS= <maximum-number-of-parallel-sort-threads> ;