Tchater maintenant avec le support
Tchattez avec un ingénieur du support

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

View Inspector Properties

SQL Inspector > View Inspector Properties

To view the Inspector properties

Right-click an Inspector and select Properties.

Review the following for additional information:

Item Description

Name

Inspector name.

Description

Inspector description provided by user.

Creation date time

Date and time the Inspector was created.

Repeat method

The frequency that the SQL statements are retrieved from the Adaptive Server monitoring tables.

Inspecting Approach

Indicates whether the SQL was retrieved from the Monitoring Tables or the QP Metrics.

Size

Inspector data file size.

Status

Inspector status.

Version

Version number for the program.

No. of SQL

Number of SQL retrieved.

Data directory

The directory where the Inspector files are kept.

 

Related Topics

Place Bookmarks in SQL Inspector Window

SQL Inspector > Place Bookmarks in SQL Inspector Window

To place or remove a bookmark on the SQL Inspector window:

  1. Mark an Inspector by clicking the Inspector row.

  2. Right-click and select Add/Remove Bookmark.

Multiple bookmarks can be placed in the SQL Inspector window.

 

Related Topics

Create Benchmark Factory Import File

SQL Repository > Create Benchmark Factory Import File

All the SQL statements can be saved in a text file from the SQL Scanner, the SQL Repository, the SQL Inspector, and the SQL Optimizer windows. These SQL statements can then be imported into Benchmark Factory 4.6 or later.

To create a file to import into Benchmark Factory

  1. Right-click and select Create Benchmark Factory Import File.

  2. Select the specific SQL statements that you want to save.

  3. Enter the filename and select the file location.

 

View and Add Charts

SQL Inspector > View and Add Charts

When you first select an Inspector in the SQL Inspector window, one chart group showing the CPU time displays in the top pane with the following:

Statistics

Select the statistic to display on the chart from the drop-down field.

No. of Top Consumption SQLs and Percentage of Total Consumption sliders

These two sliders work in conjunction with each other. If you select the number of SQL statements and Transact-SQL using the No. of Top Consumption SQLs slider, the Percentage of Total Consumption slider is adjusted to show the percentage of the SQL statements that correspond to the number of selected SQL.

If you select the Percentage of Total Consumption, the corresponding number of SQL is shown in the No. of Top Consumption SQL's slider.

The SQL statements and Transact-SQL that are shown in the statistics pane are determined by the statistics that is selected for each chart and by the selection of the AND or OR criteria for joining the SQL statements based on the selected statistics.

Add another chart

Multiple charts are used to narrow or increase the number of SQL statements and statistics that can be viewed.

To add another chart

  1. Click image\B_AddChart.gif.

  2. Select the statistic from the field at the top of the chart.

  3. Adjust the No. of Top Consumption SQLs or Percentage slider.

Select the SQL Filtering Criteria

Two options are provided at the left of the window for toggling the filtering criteria for displaying SQL statements and Transact-SQL.

Show SQL Satisfying All Charts

The SQL statements can be selected for display using the AND operator to require that all SQL statements must be in the No. of Top Consumption SQLs for each charted performance statistic.

To select only those SQL statements in all charts

Click image\B_AND.gif.

Show SQL Satisfying Any Chart

The SQL statements are selected for display using the OR operator to allow any SQL statement in the No. of Top Consumption SQLs for each charted performance statistic.

To select all SQL statements from all charts

Click image\B_OR.gif.

View the SQL text

Click the performance statistics line in the Statistics pane to view the SQL text for those statistics.

 

Related Topics

Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation