Changing your query environment can affect how your query performs. To view the query environment settings:
You can change your query environment by using the Change query attributes function.
For some tips on optimization, see Tips for improving query performance.
For more information, see Database Performance and Query Optimization in the
i5/OS Information Center .