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.
For Extended Parallel Server, the PDQPRIORITY environment variable determines only the allocation of memory resources.
>>-setenv--PDQPRIORITY--+-HIGH-----------------------------------------------+->< +-LOW------------------------------------------------+ +-OFF------------------------------------------------+ '-resources--+-------------------------------------+-' '-Extended Server Only--,--high_value-'
Value 0 is the same as OFF (for supported database servers other than Extended Parallel Server only).
Here the HIGH, LOW, and OFF keywords have the following effects:
For supported database servers other than Extended Parallel Server, the resources value specifies the query priority level and the amount of resources that the database server uses to process the query. When you specify LOW, the database server uses no forms of parallelism.
When PDQPRIORITY is not set, the default value is OFF.
When PDQPRIORITY is set to HIGH, the database server determines an appropriate value to use for PDQPRIORITY based on several criteria. These include the number of available processors, the fragmentation of tables queried, the complexity of the query, and additional factors.
The resources value establishes the minimum percentage of memory when you also specify high_value to request a range of memory allocation. Other parallel operations can occur when the PDQPRIORITY setting is LOW.
When the PDQPRIORITY environment variable is not set, the default value is the value of the PDQPRIORITY configuration parameter.
When PDQPRIORITY is set to 0, the database server can execute a query in parallel, depending on the number of available processors, the fragmentation of tables queried, the complexity of the query, and so on. PDQPRIORITY does not affect the degree of parallelism in Extended Parallel Server.
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 among the resources can result and take resources away from other queries, resulting in degraded performance. For more information on performance considerations for PDQPRIORITY, refer to your IBM Informix: Performance Guide.
An application can override the setting of this environment variable when it issues the SQL statement SET PDQPRIORITY, as the IBM Informix: Guide to SQL Syntax describes.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]