Once you have executed a tuning job, the Overview tab reflects tuning analysis of the specified statements. The Analysis tab shows the resulting analysis of the query, including indexes used, not used, and missing (or suggested to create). For more information on using the Analysis tab, see Understanding the Analysis Tab.

Additionally, once results have been generated you can:

Compare cases

You can compare cases between an original statement and one of its tuning-generated statements, or another statement case via the Compare to Parent and Compare Selected commands, respectively.



To compare a case side-by-side with its parent

Right-click in the Name field of a case and select Compare to Parent from the context menu.

To compare two cases

Select the two cases, and then right-click in the Name field of either case. Select Compare Selected from the context menu.

Filter and delete cases

You filter cases from the Generated Cases table via the Filter icons on the Generated Cases Toolbar of the Overview tab.

Filter the cases on the Overview tab so that hints that are not improvements on the original statement are not displayed. You can filter:

When filtering, the criteria remain in effect until you change the criteria. That is, as new cases are generated, only those cases that do not satisfy the filtering criteria are displayed. To restore an unfiltered set of cases, open the Filter dialog and deselect the filtering options.

When removing cases, the criteria you set has no effect on cases subsequently generated.

To filter cases from the Overview table

  1. Click the Filter button, respectively. A Filters dialog opens.
  2. Use the check boxes to select your filtering and then click OK

To delete cases from the Overview table

  1. Right-click on the row of the case you want to delete and select Delete. A Delete dialog opens.
  2. Use the check boxes to select your filtering and then click OK.

When removing cases, the criteria you set has no effect on cases subsequently generated.

Create an outline

If SQL is executed by an external application or If you cannot directly modify the SQL being executed but would like to improve the execution performance, you can create an outline on the Oracle platform. An outline instructs the Oracle database on the execution path that should be taken for a particular statement.

To create an outline for a change suggested by a case

  1. On the Overview tab of a tuning job, right-click in the Name field of a case and select Create Outline from the context menu.
    A NewOutline wizard opens.
  2. On the first panel, provide an Outlinename, select an Outlinecategory, and then click Next.
    A Preview Outline panel opens previewing the SQL code to create the outline. 
  3. Select an Actiontotake option of Execute or OpeninnewSQLeditor and then click Finish.
    For more information, see Using the Outlines tab.



 |    |  |   |   |