Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following table shows from which tabs and entities it is possible to launch to the SQL tab, in context

Table 7- 1 Launch in-context to following entities

TabEntities
DashboardStatement
CurrentStatement, Active or Current Session that is currently executing a statement.
ActivityStatement
What-IfStatement that is affected by one or more index evaluations.
Info

If the SQL tab is opened with no statement in-context, the following error message is displayed:

No statement in context. Please open a statement.

...

The following table describes the information displayed in each tab of the Plan view.

Table 7- 2 Information tabs

Information TabsDescription
HighlightsThe default tab, it displays the statement’s Optimized text. When opening a new plan tree or when clicking on the root of the tree, the original text is displayed (Text tab). When an operator is clicked, the text will be switched to the optimized text of the statement.
ObjectsDisplays information on all referenced objects in the execution plan, including their tables, indexes, and columns. Statistical and general details are displayed for each object.
OperatorsDisplays information on all operators in the Execution plan tree. When you sort a table, you can locate operators by their total cost or by any other column in the table.
TextDisplays the Original text of the statement.
Recommendations

Displays new index recommendations for the statement. These are additional indexes that can improve the statement.

Info

This tab is only displayed after you generate Recommendations (by clicking the Recommend button or clicking Actions>Recommend).

About the Execution Plan tree

...

Only applied predicates are highlighted. In the following example, the predicate on the bid column is range delimiting.

Figure 1 Highlights tab content

Info

Not all operators include color fonts. Color fonts are used only when relevant for performance tuning.

...

The following table describes the information displayed for the referenced tables.

Table 7- 3 Tables used in Plan

ColumnDescription
Image Modified
Click to launch to Objects tab—with the selected index in context—to get additional catalog information about the object.
Image Modified
Click to locate and highlight in Bold font all the operators in the execution plan that access the specified index.
Table NameName of the table.
Contribution RatioThe Contribution ratio of the table, computed by I/O Cost.
PrefetchThe Prefetch type (LIST, SEQUENTIAL, or NONE).
Statistics TimeThe last statistics update.
RowsThe number of rows based on last statistics update.
Total PagesThe total pages based on last statistics update.
Data PagesThe data pages based on last statistics update.
Overflow RecordsOverflow records based on last statistics update.
Preferred LocksizePreferred locksize based on last statistics update.

The following table describes the information displayed in the indexes defined on a selected table.

Table 7- 4 Indexes on Table.

ColumnDescription
Image Modified
Click to launch to Objects tab—with the selected index in context—to get additional catalog information about the object.
Image Modified
Click to locate and highlight in Bold font all the operators in the execution plan that access the specified index.
Index NameName of the index.
Contribution RatioThe Contribution ratio of the table, computed by I/O Cost.
PrefetchThe Prefetch type (LIST, SEQUENTIAL, or NONE).
Statistics TimeThe last statistics update.
Unique RuleUnique rule based on last statistics update.
Cluster RatioCluster ratio based on last statistics update.
Cluster FactorCluster factor based on last statistics update.
Index LeafsIndex leafs based on last statistics update.
Index LevelsIndex levels based on last statistics update.
Distinct First KeysDistinct first key based on last statistics update.
Distinct Full KeysDistinct full keys based on last statistics update.
Sequential PagesSequential pages based on last statistics update.
DensityDensity based on last statistics update.

The following table describes the information displayed in Columns in Table.

Table 7- 5 Columns in table

ColumnDescription
Image Modified
Click to launch to Objects tab—with the selected table in context—to get additional catalog information about the object.
Image Modified
The column definition in the chosen index (Ascending, Descending, or Included).
ColumnColumn name.
TypeData type of the column.
LengthThe length of the column.
Key NumberThe position within the chosen index.

Anchor
AboutviewinginformationonalloperatorsandpredicatesintheExecutionplan
AboutviewinginformationonalloperatorsandpredicatesintheExecutionplan
About viewing information on all operators and predicates in the Execution plan

...

The following table describes the information displayed in the Operators table.

Table 7- 6 Operators table

ColumnDescription
Image Modified
Click to locate and highlight in Bold font the same operator in the execution plan.
Operator IDOperator ID issued by the DB2 Optimizer.
Execution OrderThe execution order of operators in the plan.
OperatorOperator type.
Subtree Total CostThe total cost of this operator subtree.
Cost(%)The percentage cost of this operator in the plan.
First Row CostFirst row cost of the operator subtree.
I/O CostI/O Cost.
CPU CostCPU Cost.
PrefetchPrefetch type.
Estimated RowsThe estimated rows of the operator.
Estimated PagesThe estimated pages of the operator.
Potential Filter FactorPotential filter factor calculated by the predicate’s filter factor of the operator.
Table PartitionsThe estimated number of table partitions to be accessed.

The following table describes the information displayed in the Predicates table.

Table 7-7 Predicates table

ColumnDescription
TextPredicate text.
Filter FactorThe estimated filter factor of the predicate.
How AppliedHow predicate is being used by the specified operator.
Sub SelectIndicates when the subquery used in this predicate is evaluated.

Anchor
Aboutviewingthestatementtext
Aboutviewingthestatementtext
About viewing the statement text

...

The following table describes the information displayed in the Recommendations table.

Table 7- 8 Recommendations table

ColumnDescription
ObjectThe name of the index.
ActionsCreate index.
ColumnsColumns participating in the index or Include Columns in the index.

The Details area displays statistical information of the recommended index. The DDL area displays the create index statement.

...

To generate a recommendation, go to Actions>Recommend or, alternatively, click the Recommend button.

 

Precise. Performance intelligence from click to storage. Learn more > >

...