Chat now with support
Chat with Support

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

Test Run Index Alternatives

Once SQL Optimizer generates index alternatives, you can test each alternative. When you test run alternatives, indexes are physically created on the database and dropped after SQL Optimizer executes the statement. Use of this function requires you to select a tablespace for the indexes.

Important: Since indexes are physically created on the database, this process may impact database performance.

To test run an index alternative

  1. Select the Optimize SQL tab in the main window.
  2. Select a SQL Rewrite session.
  3. Select an index alternative in the Alternatives pane.

  4. Click .

    Tip: Click the drop-down arrow beside and select Test Run - All to test run all index alternatives.

  5. Review the following for additional information:

    Index Information Description
    Index Shows SQL text of index selected.
    Tablespace

    Click and select a tablespace for index creation.

    Note: Review the information in the DDL Script pane.

Tip: Click to stop (or interrupt) the test run process. See Stop and Resume the Optimization Process for more information.

  

Related Topics  

Generate Index Alternatives

Analyze Index Impact (SQL Rewrite)

 

Analyze Index Impact (SQL Rewrite)

You can use Analyze Impact to simulate creation of the index alternatives Optimize SQL generates. The simulation process uses virtual indexes to determine the impact of creating the new indexes on your database environment.

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

To analyze index impact

  1. Select the Optimize SQL tab in the main window.
  2. Select a SQL Rewrite session.
  3. Select an index alternative in the Alternatives pane.

  4. Click . A new Analyze Impact session opens.

  5. The Indexing Change Details page is populated with the new indexes that you sent from the Optimize SQL session. Use this page to modify the index, if necessary. See Analyze the Impact of Additional Indexes for more information.
  6. When you have finished modifying the indexes, click to start collecting the SQL to evaluate. See Collect SQL and Run an Impact Analysis.

 

  

Related Topics

View SQL Information (SQL Rewrite)

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

To view SQL information

  1. Select the Optimize SQL tab in the main window.
  2. Select a SQL Rewrite session.

  3. Select the SQL Information tab in the Optimize SQL window.

  4. Click the following to view the information that displays for each pane.

  

Related Topics  

View Schema Information (SQL Rewrite)

View Statistics Information (SQL Rewrite)

View Schema Information (SQL Rewrite)

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

To view schema information

  1. Select the Optimize SQL tab in the main window.
  2. Select a SQL Rewrite session.
  3. Select the Schema Information tab in the Optimize SQL window.

    Tip: Click to retrieve all schema objects.

  4. Click beside the Summary list and select a table for additional information.

    Tips:  

    • Click to reorganize indexes.

    • Click to analyze the selected table.

  

Related Topics  

View SQL Information (SQL Rewrite)

View Statistics Information (SQL Rewrite)

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating