Limiting PDQ resources in queries
The MAX_PDQPRIORITY configuration parameter limits the percentage of parallel database query (PDQ) resources that a query can use. Use MAX_PDQPRIORITY to limit the impact of large CPU-intensive queries on transaction throughput.
About this task
To limit the impact of large CPU-intensive queries on transaction throughput
Procedure
- Memory
- CPU VPs
- Disk I/O
- Scan threads
Example
Resources allocated = PDQPRIORITY/100 * MAX_PDQPRIORITY/100For
example, if a client uses the SET PDQPRIORITY 80 statement
to request 80 percent of PDQ resources, but MAX_PDQPRIORITY is set
to 50, the database server allocates only 40 percent
of the resources (50 percent of the request) to the client.
For decision support and online transaction processing (OLTP), setting MAX_PDQPRIORITY allows the database server administrator to control the impact that individual decision-support queries have on concurrent OLTP performance. Reduce the value of MAX_PDQPRIORITY when you want to allocate more resources to OLTP processing. Increase the value of MAX_PDQPRIORITY when you want to allocate more resources to decision-support processing.
What to do next
For more information about how to control the use of PDQ resources, see The allocation of resources for parallel database queries.