Chat now with support
Chat mit Support

SQL Optimizer for SAP ASE 3.9 - 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 Analyzed Folder

Index Impact Analyzer > Index Impact Analyzer Window > Right Pane for SQL Analyzed Folder

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

Cost Summary button

Displays all the SQL statements and shows the Estimated I/O Cost with and without the proposed indexes.

Cost Classification button

Displays all the SQL statements and shows the SQL Classification (Simple, Complex, and Problematic) with and without the proposed indexes.

 

Related Topic

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

Verwandte Dokumente

The document was helpful.

Bewertung auswählen

I easily found the information I needed.

Bewertung auswählen