PDQPRIORITY environment variable
The PDQPRIORITY environment variable determines the degree of parallelism that the database server uses and affects how the database server allocates resources, including memory, processors, and disk reads.
- resources
- Is an integer in the range
0
to100
. The value1
is the same as LOW, and100
is the same as HIGH. Values lower than0
are set to0
(OFF), and values greater than100
are set to100
(HIGH).Value
0
is the same as OFF (for HCL OneDB™ only).
Here the HIGH, LOW, and OFF keywords have the following effects:
- HIGH
- When the database server allocates resources among all users, it gives as many resources as possible to the query.
- LOW
- Data values are fetched from fragmented tables in parallel.
- OFF
- PDQ processing is turned off (for HCL OneDB only).
Usually, the more resources a database server uses, the better its performance for a given query. If the server uses too many resources, however, contention for the resources can take resources away from other queries, resulting in degraded performance. For more information about performance considerations for PDQPRIORITY, see the HCL OneDB Performance Guide.
An application can override the setting of this environment variable when it issues the SQL statement SET PDQPRIORITY, as the HCL OneDB Guide to SQL: Syntax describes.