Optimization with DB2® Multisystem: Overview

 

Distributed queries are optimized at the distributed level and the local level.

A basic assumption of distributed optimization is that the number of records stored at each data node is approximately equal and that all of the systems of the distributed query are of similar configurations. The decisions made by the distributed optimizer are based on the system and the data statistics of the coordinator node system.

If a distributed query requires more than one step, a temporary result file is used. A temporary result file is a system-created temporary file (stored in library QRECOVERY) that is used to contain the results of a particular query step. The contents of the temporary result file are used as input to the next query step.

 

Parent topic:

Query design for performance with DB2 Multisystem