Query design for performance with DB2® Multisystem

This topic provides you with some guidelines for designing queries so that they use query resources more efficiently when you run queries that use distributed files.

This topic also discusses how queries that use distributed files are implemented. This information can be used to tune queries so that they run more efficiently in a distributed environment.

Distributed files can be queried using SQL, the Open Query File (OPNQRYF) command, or any query interface on the system. The queries can be single file queries or join queries. You can use a combination of distributed and local files in a join.

This chapter assumes that you are familiar with running and optimizing queries in a nondistributed environment. If you want more information about these topics:

This chapter also shows you how to improve the performance of distributed queries by exploiting parallelism and minimizing data movement.

Related concepts
Choose partitioning keys with DB2 Multisystem
SQL Programming Concepts
Database Programming
Related reference
SQL Reference
CL Reference