Chatee ahora con Soporte
Chat con el soporte

SQL Optimizer for Oracle 10.0 - User Guide

Welcome to SQL Optimizer
About SQL Optimizer SQL Optimization Workflow New in This Release Additional Resources Database Privileges Database Privileges Script Connect to the Database Windows Layout Customize Toolbars Keyboard Shortcuts Support Bundle Register SQL Optimizer Check for Updates SQL Operations
ALL PARTITION ALTER INDEX AND EQUAL ANTI JOIN BITMAP AND BITMAP COMPACTION BITMAP CONSTRUCTION BITMAP CONVERSION BITMAP INDEX BITMAP JOIN INDEX UPDATE BITMAP JOIN INDEX UPDATE STATEMENT BITMAP KEY ITERATION BITMAP MERGE BITMAP MINUS BITMAP OR BUFFER SORT CARTESIAN JOIN COLLECTION ITERATOR CONCATENATION CONNECT BY CONNECT BY PUMP COUNT COUNT STOPKEY CREATE AS SELECT CUBE SCAN DDL STATEMENT DELETE DOMAIN INDEX FAST FULL INDEX SCAN FILTER FIRST ROWS FIXED INDEX FIXED TABLE FOR UPDATE FULL INDEX SCAN FULL INDEX SCAN DESCENDING FULL INDEX SCAN (MIN/MAX) HASH GROUP BY HASH GROUP BY PIVOT HASH JOIN HASH JOIN BUFFERED HASH PARTITION HASH UNIQUE INDEX INDEX BUILD NON UNIQUE INDEX RANGE SCAN INDEX RANGE SCAN DESCENDING INDEX RANGE SCAN (MIN/MAX) INDEX SAMPLE FAST FULL SCAN INDEX SKIP SCAN INDEX SKIP SCAN DESCENDING INDEX UNIQUE SCAN INLIST ITERATOR INLIST PARTITION INSERT INTERSECTION INTO INVALID PARTITION ITERATOR PARTITION LOAD AS SELECT MAT_VIEW ACCESS MAT_VIEW REWRITE ACCESS MERGE JOIN MINUS MULTI-TABLE INSERT NESTED LOOPS OUTER JOIN PARTITION PARTITION HASH EMPTY PARTITION LIST PARTITION RANGE PROJECTION PX BLOCK ITERATOR PX COORDINATOR PX ITERATOR PX PARTITION PX PARTITION HASH ALL PX PARTITION LIST ALL PX PARTITION RANGE ALL PX RECEIVE PX SEND RANGE PARTITION RECURSIVE EXECUTION RECURSIVE WITH PUMP REFERENCE MODEL REMOTE SELECT SEMI JOIN SEQUENCE SINGLE PARTITION SINGLE RANGE PARTITION SORT SORT AGGREGATE SORT GROUP BY SORT GROUP BY CUBE SORT GROUP BY NOSORT SORT GROUP BY ROLLUP SORT JOIN SORT ORDER BY SORT UNIQUE SQL MODEL TABLE ACCESS TABLE ACCESS BY GLOBAL INDEX ROWID TABLE ACCESS BY INDEX ROWID TABLE ACCESS BY LOCAL INDEX ROWID TABLE ACCESS BY ROWID TABLE ACCESS BY USER ROWID TABLE ACCESS CLUSTER TABLE ACCESS FULL TABLE ACCESS HASH TABLE ACCESS SAMPLE TABLE QUEUE TEMP TABLE GENERATION TEMP TABLE TRANSFORMATION UNION UNION ALL UNION ALL (RECURSIVE WITH) UNPIVOT UPDATE VIEW VIEW PUSHED PREDICATE WINDOW
Optimize SQL
Create Optimize SQL Sessions Open Optimizer SQL Sessions Rewrite SQL Generate Execution Plan Alternatives
Optimize Indexes Batch Optimize SQL Scan SQL Inspect SGA Analyze Impact Manage Plans Configure Options SQL Optimizer Tutorials About Us Legal Notices

Generate Inspected SQL Report

This topic focuses on information that may be unfamiliar to you. It does not include all step and field descriptions.

To generate an inspected SQL report

  1. Select the Inspect SGA tab in the main window.
  2. Click beside the Group list and select a group.
  3. Select a job in the Job List pane.
  4. Click .

  5. Select the SQL statistics to include in the report.
  6. Click Show Filter Criteria, to filter the contents of the inspected SQL report using SQL statistics criteria.
  7. Save or export the report.

  

Related Topics

Use Inspect SGA

Analyze Impact

About Analyze Impact

Use Analyze Impact to evaluate the impact that a change can have on a group of SQL statements or a SQL workload. The types of changes Analyze Impact will allow you to evaluate include: the addition of indexes and changes to database parameters. You can also run a comparison of two different databases that run the same application.

To evaluate the impact on a SQL workload, SQL Optimizer identifies changes to each SQL statement's execution plan resulting from the specified database change.

You can collect the SQL workload from one of several sources: source code, an Oracle Automatic Workload Repository (AWR), or the Oracle System Global Area (SGA).

Analyze Impact Workflow

The following is a summary of the Analyze Impact procedure/workflow:

Step one. Select the type of change to analyze (create new session).

Step two. Specify change and analysis criteria.

Step three. Collect the SQL workload to evaluate.

Step four. Review collected SQL (optional).

Step five. Run the analysis

Step six. Review results

Create New Analyze Impact Session

Step one. To create an Analyze Impact session, begin by selecting the type of change you want to analyze.

To create a new Analyze Impact session

  1. Select Analyze Impact.

  2. Select the type of change you want to evaluate. Select from the following:

    Change Description
    Additional Indexes Select to evaluate the impact of adding indexes. You can create indexes or evaluate indexes created previously in an Optimize Indexes session.
    Parameter Change Select to evaluate the impact of changing database parameters.
    Compare Databases Select to compare two databases running the same application.
    Custom Script Select this option to use a custom script to create the change that you want to analyze.
  3. Specify analysis criteria. See one of the following topics (depending on the change you selected):

 

  

Related Topics

 

Analyze Impact of Additional Indexes

Step two. If you selected to evaluate the impact of additional indexes, specify criteria for the new indexes.

You can use Analyze Impact to create new indexes to evaluate or you can evaluate indexes created previously in the Optimize Indexes module. See Send Virtual Indexes to Analyze Impact (Optimize Indexes) for more information.

To analyze the impact of Additional Indexes

  1. If you have already created a new session, skip to 3. Otherwise, select Analyze Impact.
  2. Click .
  3. Now, enter a session name, and select a database and schema.
  4. Click to add a new index.
  5. Enter a new index name or use the default.
  6. In the Select Index Columns and Options pane, select the table containing the columns you want to index. The table's columns display in the lower pane. Select a column and click to move it to the Indexed Columns list.
  7. Click to create a functional index.
  8. Specify the remaining index criteria for the selected index. Review the following for additional information:

    Index Type Select an index type.
    Advanced Options Click to select from additional options for the selected index.

    Compress Key

    Select to add key compression. If you select Compress Key, you must also include the number of columns to compress in the Columns field.
  9. You can manage the list of indexes using the following toolbar buttons:

    Click to add a new index.

    Click to easily rename the selected index.

    Click to delete the selected index.

    Click to delete all indexes.

    Click to display the index criteria in a card view.

    Click to display the index criteria in a table view.
  10. Add additional indexes if necessary.
  11. Finish specifying criteria for all indexes, and click to start collecting the SQL to evaluate.

Go to Step three. See Collect SQL and Run an Impact Analysis.

 

Tip: If you used Optimize Indexes to find new indexes to optimize database performance, you can send those indexes directly from your Optimize Indexes session to a new Analyze Impact session. See Send Virtual Indexes to Analyze Impact (Optimize Indexes) for more information.

 

  

Related Topics

 

Documentos relacionados

The document was helpful.

Seleccionar calificación

I easily found the information I needed.

Seleccionar calificación