Setting SQL tuning options
You can use the Options button to set optional behavior of the SQL tuning feature.
The following tabs are displayed:
- The Tuning tab sets the options for defining SQL tuning settings for the current session.
- The Execution tab sets the options for executing SELECT statements.
- The Statistics Migration tab sets the options for statistics migration. For more details, see Setting-statistic-migration-options.
Tuning tab
The Tuning tab lets you set the following types of options: dynamic SQL, ad hoc SQL, and general.
Dynamic SQL options
Option | Description | Default values |
---|---|---|
Plan Table Owner | Specifies the name of the owner for the Db2 plan table used | BMC |
Ad Hoc SQL options
Option | Description | Default values |
---|---|---|
Table Qualifier | Specifies a table qualifier to qualify Db2 objects that are not qualified in the SQL statement | No default value |
Degree | Specifies whether to consider parallel processing during an Explain:
| Default = Any |
General options
Option | Description | Default values |
---|---|---|
Rule set | Defines the Explain expert rules set to use:
The rules files are available in the hlq.llqSAMP data set. The name of hlq.llqSAMP varies depending on your BMC AMI SQL Explorer for Db2 installation options and might be hlq.BMCSAMP. The name of the members that contain the rules files are as follows:
For more information, see Expert rules. | DEFAULT |
Online Application | Specifies whether to trigger specific rules for table space scan, list and sequential prefetch, and multiple index access paths (MIAP) considerations:
| Unchecked |
Cost Translation Rate per Timeron | Specifies the rate used to translate the timeron cost into a monetary unit | 1.0 |
Cost Translation Rate per Service Unit | Specifies the rate used to translate the service unit cost into a monetary unit | 1.0 |
Execution tab
The Execution tab lets you set the select options.
Select options
Option | Description | Default values |
---|---|---|
Select Options | For SELECT statements, this option lets you set maximum values for the following items (with defaults shown in parentheses):
| N/A |
Related topic