Skip to main content
Previous sectionNext section

AutoParallelThreshold

Set the threshold for parallel processing.

Synopsis

[SQL]    AutoParallelThreshold=n

n is any nonnegative integer. The default value is 3200.

Description

The higher n is, the lower the chance that an InterSystems SQL query executes using parallel processing. The value n corresponds roughly to the minimal number of tuples needed in the visited map for parallel processing to occur.

When AutoParallel is disabled, AutoParallelThreshold has no effect.

Changing This Parameter

To set the desired value for AutoParallelThreshold from the Terminal, use the SetAutoParallelThreshold() method of the %SYSTEM.SQL class. See the class reference for details.

You can also change AutoParallelThreshold with the Config.SQL class (as described in the class reference) or by editing the CPF in a text editor (as described in the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).