Configuring the Query Optimizer
The query optimizer is directly responsible for the performance of SQL statements. For this reason, it makes sense to take some time to configure it correctly. In fact, without an optimal configuration, the query optimizer may generate inefficient execution plans that lead to poor performance.
The configuration of the query optimizer consists not only of several initialization parameters but also of system statistics and object statistics (system and object statistics are described in Chapter 7 and Chapter 8, respectively). This chapter describes how these initialization parameters and statistics influence ...