立即与支持人员聊天
与支持团队交流

SQL Optimizer for SAP ASE 3.8 - User Guide

Introduction Tutorials Preferences Editor Functions SQL Information and Functions Performance Monitor SQL Inspector SQL Collector for Monitor Server SQL Scanner Index Advisor SQL Optimizer
SQL Optimizer Overview Optimization Engine Common Coding Errors in SQL Statements What Function Should l Use to Retrieve the Run Time? Unsatisfactory Performance Results SQL Optimizer Functions SQL Editor Optimized SQL Activity Log
SQL Worksheet SQL Formatter Database Explorer Code Finder Object Extractor SQL Repository Index Impact Analyzer Index Usage Analyzer Configuration Analyzer Migration Analyzer Abstract Plan Manager User-Defined Temp Tables SQL History Legal Information

Right Pane for SQL Statements

Index Impact Analyzer > Index Impact Analyzer Window > Right Pane for SQL Statements

In the Index Impact Analyzer window, when a SQL statement is selected in the left pane, the following information displays in the right pane.

Properties button

Displays general information about the analysis, information on the connection used to retrieve the query plans and the database settings at the time of the analysis.

SQL Information button

Displays the SQL statement selected, as well as, two SQL Information panes that show the query plans for the statement before and after the index Scenario is in place. In the query plan, the operations that are different between the two plans are highlighted in green.

Saving the Abstract Plan

The abstract plan for a SQL statement can be saved from this pane. In order to save the abstract plan, it must be retrieved when the SQL was selected to be analyzed. This is done from the Abstract Plan page of the New Analysis wizard.

  1. Select the SQL statement in the left pane.

  2. Click SQL Information section of the right pane. This enables the Save Abstract Plan button.

  3. Click Save Abstract Plan image\B_SaveAbstractPlan.gif.

  4. In the Save to group field, select the abstract plan group.

  5. Click Save.

 

Related Topic

Create an Index Impact Analyzer

Create an Index Impact Analyzer

Index Impact Analyzer > Create an Index Impact Analyzer > Create an Index Impact Analyzer

To create an Index Impact Analyzer

  1. Click image\B_IndexImpactAnalyzer.gif to open the Index Impact Analyzer window.

  2. If no analysis exists in the Index Impact Analyzer then the New Analysis wizard displays automatically. Otherwise, click image\B_NewAnalysis_IIA.gif to open the New Analysis wizard.

  1. The New Analysis wizard the following pages to select the options for creating an analysis.

  1. Name the Analyzer, select the SQL statements for analysis, and specify the DDL for the proposed indexes in the New Analysis window.

Note: The indexes are physically created and then dropped after the query plans are obtained. This may affect other SQL statements executing on the database during this period.

 

Related Topics

New Analysis Wizard: Analyzer Page

Index Impact Analyzer > Create an Index Impact Analyzer > New Analysis Wizard: Analyzer Page

In the New Analysis wizard, the Analyzer page is used to name the analysis and to select the folder where the Analyzer information will be stored.

Creating a new Analyzer and select SQL to be analyzed

Select this option to create a new analysis using a different set of SQL statements.

Continuing an existing Analyzer using the Analyzer's selected SQL

Select this option to use the same set of SQL statements that is stored in an existing Analyzer. This option adds another Scenario under an existing Analyzer and does not retrieve a new set of query plans for the SQL statements. It uses the query plans that were originally saved with the SQL statements.

Do not drop the indexes after the analysis is finished

Specific to leaves the new indexes that you create under the Index tab after the analysis is finished. Otherwise, these changes are dropped at the end of the analysis processing. After the analysis is complete, the Create/Drop Indexes button displays at the top of the Index Impact Analyzer window which displays the Create Indexes, Drop Indexes, and the Drop All Indexes panes. These panes contain the scripts to create or drop the indexes. 

Item Description

Name

Enter the name for the analysis.

Description

Enter the description for the analysis.

Last modified

Displays the last modified date and time.

Save location

Displays the folder in the tree where the Analyzer is saved.

Folder Tree

In the bottom pane, select the folder where you want to save the Analyzer.

image\B_AddFolder.gif

To create a new folder, click Add Folder.

 

Related Topic

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级