DISABLE_THREADS (ORDER BY Option)

DISABLE_THREADS prevents the query engine from using background threads to speed up processing of the ORDER BY operator. You can use this option to prevent resource-intensive queries from using excessive server resources.

If DISABLE_THREADS is not specified, the query engine uses background threads to speed processing.

This ORDER BY option takes precedence over the SELECT-level DISABLE_THREADS option.

Operator

ORDER BY

Syntax

disable_threads

Example

SELECT column1 FROM table1
ORDER BY {OPTION disable_threads} column1