Administration Guide

Configuration Parameters Affecting Query Optimization

Several configuration parameters affect the access plan chosen by the SQL compiler. Many of these are appropriate to a single-partition database and some are only appropriate to a partitioned database. When working with configuration parameters in a partitioned database, it is recommended that the values used for each parameter be the same on all partitions.

When working in a federated system, if the majority of your queries access nicknames then consider the type of query you are sending before changing your environment. For example, the buffer pool does not cache pages from data sources; as such, increasing the buffpage parameter value does not guarantee that the optimizer will consider additional alternatives when creating an access plan for queries containing nicknames. (Data sources are DBMSs and data within the federated system.) Also, the optimizer may decide that local materialization of data source tables is the least cost route or a necessary step for a sort operation. In that case, increasing the resources available to DB2 Universal Database may speed performance. For additional information, see Server Options Affecting Federated Database Queries and Database Shared Memory.

Following is a list of configuration parameters that affect the access plan chosen by the SQL compiler:

For additional information, see Tuning Configuration Parameters.


[ Top of Page | Previous Page | Next Page ]