サポートと今すぐチャット
サポートとのチャット

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

Regenerate a Configuration Scenario

The Scenario can be re-executed using the exact same parameter settings. You can choose to retrieve the query plans from using the same parameter settings for all SQL statements in the Scenario or select specific SQL to retrieve the query plan using the parameter setting.

The function is useful if changes have occurred in the database environment, such as data volumes, that may change the query plans.

To regenerate

  1. Select the Scenario you want to modify from the left pane.

  2. Right-click and select Regenerate.

  3. From the Regenerate Scenario window, check the SQL statements whose current query plans you would like retrieved using the parameter changes.

 

Related Topic

Add a Scenario

After creating a configuration analysis, you can add more Scenarios to it. A Scenario can be added in two ways.

To add a Scenario

Method One

  1. In the left pane, right-click the analysis and select Add Scenario.
  2. In the Add Scenario wizard, click the Configuration page and set the new database parameters'

Method Two

  1. In the left pane, right-click and select New Analysis.
  2. In the New Analysis wizard, select the Continuing an existing Analyzer using the Analyzer's select SQL option.
  3. From the Select Analyzer field, click Analyzer.
  4. Click the Configuration page and set the new database parameters.

 

Related Topic

View Configuration Analysis Details

The Configuration Analysis Details window displays information about the retrieve of the query plan for each SQL statement.

The Configuration Analysis Details window displays after the batch run process is completed unless the Show details on next batch run checkbox in the Configuration Analysis Details window is unchecked.

To view the Configuration Analysis Details window after an analysis

  1. Select View | Show Configuration Analysis.

  2. Review this information to see if an error occurred during the retrieval of the query plan. Errors may occur if the selected SQL statements are from one database and user and you have set another database and user in the drop-down boxes at the bottom left of the main window.

 

Related Topic

Roll Back Changes to Configuration Parameters

The Configuration analysis first executes the configuration parameter changes that you have selected on your database. Then it retrieves the query plan for each SQL statement that you have selected for your analyzer. When you set up the individual scenarios, you determine if you would like the configuration parameter changes rolled back or to leave them set on Adaptive Server.

If you do not have the analysis process rollback the configuration changes, you can roll them back in any one of the following ways:

  • In the tree pane (left pane), right-click the scenario name and select Go To Undo Changes.

  • When you close the Configuration Analyzer window, you are prompted to rollback the changes. Click Yes.

  • In the tree pane (left pane), click the scenario name and select the Apply/Undo Changes button at the top of the right pane. Click image\B_Execute.gif next to the Undo Change pane.

You can make the changes permanent, in one of the following ways:

  • In the tree pane (left pane), right-click the scenario name and select Confirm Changes.

  • When you close the Configuration Analyzer window, you are prompted to rollback the changes. Click No.

 

Related Topic

関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択