Database Tuning: Principles, Experiments, and Troubleshooting Techniques

One reason we believe expert human database tuners will always be in demand is that many of the biggest performance improvements come from viewing an application in a new light. Tools can, of course, help, but they would have to confront an enormous variety of situations, some of which we outline here.
Many of these examples come from our work on Wall Street, but we don't think the lessons are specific to that environment. For the sake of concreteness, however, we have left the context intact.
As in many other applications, financial data often must be validated when it enters. This often happens in the context of a data warehouse, slet us study such a situation. You will see that small rewritings can yield big results (Figure 6.1).