Skip to main content

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 SetOption(“AutoParallelThreshold”)Opens in a new window method of the %SYSTEM.SQL.UtilOpens in a new window class. See the class reference for details.

You can also change AutoParallelThreshold with the Config.SQLOpens in a new window 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).

FeedbackOpens in a new window