Chat now with support
Chat with 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

Roll Back Changes to Configuration Parameters

Migration Analyzer > Roll Back Changes to Configuration Parameters

Rollback Changes to Configuration Parameters

The Migration analysis connects to the database you are migrating to and 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 Migration 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. Click Yes.

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

 

Related Topic

Add SQL to a Migration Analysis

Migration Analyzer > Add SQL to a Migration Analysis

After creating a migration analysis, you can add more SQL statements to it.

To add SQL to an Analysis

  1. From the left pane, select the analysis in which you want to add the SQL.

  2. Right-click and select Add SQL.

  3. From the Add SQL window under the Select SQL to be added pane, check the SQL statements you want added.

  4. Under the Select Scenario to include SQL pane, check the Scenarios you want the SQL added to.

  5. Click OK to add the SQL, retrieve the query plans and re-execute the Scenario.

 

Related Topic

Modify a Migration Analysis

Migration Analyzer > Modify a Migration Analysis

You can only modify the analysis name and description of a Migration analysis.

To modify an Analysis

  1. Select the Analysis name you want to modify from the left pane.

  2. Right-click and select Modify to open the Modify Analyzer window.

  3. Modify the name and/or description.

 

Related Topic

Regenerate a Migration Scenario

Migration Analyzer > Regenerate a Migration Scenario

The Scenario can be re-executed using the exact same logon and configuration parameters. You can choose to retrieve the query plans for all SQL statements in the Scenario or select specific SQL to retrieve the query plan using the same logon and configuration parameters.

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

To regenerate a Scenario

  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 logon and parameter settings.

 

Related Topic

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating