This overview of the query optimizer provides guidelines for designing queries that will perform and will use server resources more efficiently.
When you understand how DB2 Universal Database™ for iSeries processes queries, it is easier to understand the performance impacts of the guidelines discussed in this overview. There are two major components of DB2 Universal Database for iSeries query processing:
These methods are the algorithms that are used to retrieve data from the disk. The methods include index usage and row selection techniques. In addition, parallel access methods are available with the DB2® UDB Symmetric Multiprocessing operating system feature.
The query optimizer identifies the valid techniques which can be used to implement the query and selects the most efficient technique.