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

SQL Optimizer for Oracle 9.3.3 - 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

Filter Columns

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

To filter a column

» Click to the right of the column header and select a filtering option.

Note: When filtering is applied to columns, displays to the right of the column header. A Filter panel also displays at the bottom of the grid that describes applied filters as illustrated in the following:

Tips:

  • Click in the Filter panel to clear a filter or right-click a filtered column and select Clear Filter.

  • Click in the Filter panel to enable or disable a filter.

  • Click in the Filter panel to select a previously defined filter.

 

Generate Index Alternatives

About Generating Index Alternatives

You can use SQL Rewrite sessions in Optimize SQL to generate index alternatives for your original SQL statement. SQL Optimizer analyzes the following in your SQL statement and table references to generate alternatives:

  • SQL statement syntax
  • Related tables and indexes
  • Selectivity of data

Once SQL Optimizer generates index alternatives, you can test them to evaluate improvements in database performance.

Notes:

  • SQL Optimizer does not physically create indexes on your database when generating alternatives.

  • SQL Optimizer compares the virtual execution plans for each index generated and selects the best index for each unique execution plan. SQL Optimizer automatically eliminates the other indexes with duplicate execution plans.

  • Index generation requires Oracle 8i or later and use of the Oracle cost-based optimizer. If you use the rule-based optimizer, cost-based optimization is performed using the ALL_ROWS or FIRST_ROWS hints. SQL Optimizer requires the use of these hints to create virtual indexes in Oracle. If your SQL statement uses the rule hint /*+RULE*/, you must remove the hint before using SQL Optimizer to generate index alternatives.

Analyze Index Impact

You can use Analyze Impact to test the impact of the index alternatives on the execution plans of your SQL statements before you physically create the indexes on your database. Analyze Impact evaluates the impact of the index alternatives generated and identifies the effected SQL statements.

 

Related Topics

Generate Index Alternatives

You can use a SQL Rewrite session in Optimize SQL to generate index alternatives for your original SQL statement. Then test the index alternatives to evaluate improvements in database performance.

To generate index alternatives

  1. Select the Optimize SQL tab in the main window.
  2. Select SQL Rewrite from the Optimize SQL start page.
  3. Enter a SQL statement in the Alternative Details pane.
  4. Click .

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

  5. Select Index Details in the SQL Information pane to view index generation information.

  6. See Test Run Index Alternatives to test run index alternatives.

Note: When you generate virtual index alternatives, SQL Optimizer does not retrieve the execution plan for the SQL statement because it does not physically create the indexes on the database. See Retrieve Execution Plans for more information.

 

Related Topic

関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択