Query design for performance with DB2 Multisystem

 

You can design queries based on these guidelines. In this way, you can 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 topic assumes that you are familiar with running and optimizing queries in a nondistributed environment. If you want more information about these topics:

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

 

Parent topic:

DB2 Multisystem

 

Related concepts


Choosing partitioning keys with DB2 Multisystem
SQL programming
Database programming

 

Related reference


SQL reference
Control language