CHAPTER 11

image

SQL Optimization Techniques

Whenever the query optimizer is unable to automatically generate an efficient execution plan, some manual optimization is required. For that purpose, Oracle Database provides several techniques, summarized in Table 11-1. The goal of this chapter isn’t only to describe these techniques in detail but to explain what each technique can do for you and in which situations you can take advantage of them. To choose one of them, it’s essential to ask yourself three basic questions:

  • Is the SQL statement known and static?
  • Should the measures to be taken have an impact on a single SQL statement or on all SQL statements ...

Get Troubleshooting Oracle Performance, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.