Optimizer

Optimizer is an important module of the i5/OS™ Query component because it makes the key decisions for good database performance. Its main objective is to find the most efficient access path to the data.

Query optimization is a trade-off between the time spent to select a query implementation and the time spent to run it. Query optimization must handle the following distinct user needs:

In deciding how to access data, Optimizer does the following: