ENABLE_THREAD_ALLOWANCE option

Function

Allows optimizer to estimate thread allowance for each table that contains invariant predicates.

Allowed values

ON, OFF

Default

OFF

Scope

Can be set temporary, for an individual connection, or for the PUBLIC group. Takes effect immediately.

Description

The IQ optimizer assigns a thread quota to each table that contains invariant predicates based on the row counts after high selectivity filters. This algorithm provides better thread allocation, which prevents the server from running out of threads.