
© Copyright IBM Corp. 2007. All rights reserved. 407
Chapter 12. Tips to proactively prevent SQL
performance problems
It is important to analyze SQL performance problems and to fix them. Most of this book has
been focused on how to analyze an existing problem. But for programmers, it may be even
more important to know how to prevent those problems from the beginning in order to achieve
the best performance.
In this chapter, we help you to understand what the optimizer considers an optimal index, so
that you can predict which indexes are necessary. We also provide further tips and
information about coding techniques to use and to avoid with your ...