Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Optimizer Directives >

Reasons to Use Optimizer Directives

You can use optimizer directives when the optimizer does not choose the best query plan to perform a query, because of the complexity of the query, or because it does not have enough information about the nature of the data. A poor query plan provides poor performance.

Before you decide when to use optimizer directives, you should understand what makes a good query plan.

Although the optimizer creates a query plan based on costs of using different table-access paths, join orders, and join plans, it generally chooses a query plan that follows these guidelines:

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]