
© Copyright IBM Corp. 2007. All rights reserved. 379
Chapter 11. Environmental settings that
affect SQL performance
SQL queries optimized by DB2 for i5/OS generate access plans to retrieve the data. These
access plans are impacted by the environment in which the query is generated. Various
environmental factors affect the costing of access plans and therefore which access plan is
selected to retrieve the data.
This chapter discusses some environmental attributes that may affect the access plan as
following:
Optimization goal
Sensitive cursors
SMP (Symmetrical multiprocessing) Parallel Degree
11