Chat now with support
Chat with Support

SQL Optimizer for SAP ASE 3.9.1 - 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

Add SQL Collectors from the SQL Collector (Add Jobs Wizard)

You may want to scan the Collectors from the SQL Collector for Monitor Server module to identify the SELECT, INSERT, UDPATE and DELETE SQL statements with their query plan and trace on (if available). This gives you a better understanding of which SQL statement is causing the performance problem within the database server.

To add Collectors

  1. Select the SQL Collector page.

  2. Select a Collector and click image\B_AddDatabaseObjects.gif .

  3. Use the Use Database and Set User drop down lists to select the database and user that corresponds with the SQL that you are scanning.

Note: The parameter settings for Problematic, Complex, and Simple SQL statements may differ between SQL Collector for Monitor Server and SQL Scanner modules.

 

Related Topic

Add SQL Inspectors (Add Jobs Wizard)

(For Adaptive Server 15.0 and later)

You may want to scan the SQL Inspector to identify the SELECT, INSERT, UPDATE and DELETE SQL statements with their query plan, abstract plan and trace on information (if available). This enables you to review the query plan and helps to give a better understanding of which SQL statement is causing the performance problem within the database server.

To add a SQL Inspector

  1. Click the SQL Inspector page. The left-hand list field displays a list of available Inspectors. If you have not yet created any Inspectors, this list field is blank.

  2. Select an Inspector and click image\B_AddDatabaseObjects.gif or drag the Inspector you want to scan over to the right-hand list field.

  3. Use the Use Database and Set User drop-down lists to select the database and user that corresponds with the SQL that you are scanning.

 

Related Topic

Add Source Code (Add Jobs Wizard)

The SQL Scanner can scan through any source code stored as a text or a binary file to identify SQL statements.

To add sources code files

  1. Select the Source Code page.

  2. Select the file type and click image\B_Add.gif.

    Files Types

    Description
    Text/Binary Source code saved in text or binary format.

    COBOL

    COBOL source files.

  1. Use the Use Database and Set User drop-down lists to select the database and user that corresponds with the SQL that you are scanning.

 

Related Topic

Summary (Add Jobs Wizard)

Use Current DB & User

Enables you to select specific Jobs to scan using the current database and user connection

Note: When you close the Add Jobs wizard, the newly added Jobs are automatically marked in the SQL Scanner window with a black checkmark image\I_BlackCheckmark.gif in the far left of the row.

 

Related Topic

Related Documents