Tchater maintenant avec le support
Tchattez avec un ingénieur du 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

Plan

To set Best Practices statistics options

  1. Click in the main menu.

  2. Select Optimize SQL | Best Practices | Plan.

  3. Review the following for additional information:

    Threshold for small table with full table scan when it has fewer blocks than

    Enter a table size in blocks that you want defined as a small table. Best Practices recommends you keep a table in cache with fewer blocks than the value you enter.

    Default: 10

    Warning for large table scan with full table scan when it has more blocks than

    Enter a table size in blocks that you want defined as a large table. Best Practices recommends you optimize SQL statements that perform a full table scan on a table with more blocks than the value you enter.

    Default: 200

 

Related Topics

Table (Best Practices)

Index (Best Practices)

Statistics (Best Practices)

Batch Optimize

Options (Batch Optimize)

To specify options for Batch Optimize SQL

  1. Click in the main menu.

  2. Select Batch Optimize SQL | Options.

  3. Specify options to use when Batch Optimize SQL optimizes your SQL statements. Review the following options which are organized by optimization step.

    Step

    Options

    1. Search for SQL statements in your code

     

    Automatically start extracting SQL when job is added

    • Select to automatically start scanning Batch Optimize SQL jobs you create.
    2. Optimize the SQL statements found by generating different alternatives

     

    SQL to automatically optimize

    • Select the SQL classification types to automatically optimize after the scanning process.
      • Problematic
      • Complex
      • Simple
    3. Execute the alternatives to determine the best replacement SQL

     

    Types of SQL statements to execute automatically after optimization

    • Select the SQL statement types to automatically execute after the optimization process.

    Note:Batch Optimize SQL also executes the SQL alternatives of the statement types you select.

     

    SQL with bind variables:

    • Use the last bind values captured by Oracle to test run automatically—Select this option to instruct SQL Optimizer to search for the last bind values captured by Oracle for SQL statements containing bind variables. If a value is found, the SQL is test run automatically. If a value is not found, SQL Optimizer prompts you for a bind value.

      Note: This option is supported for Oracle Database 10g or later.

    • Wait for me to input the bind values before test run—Select this option if you want SQL Optimizer to always prompt you for bind values before test running SQL containing bind variables.

    See Set Bind Variables (Batch Optimize) for additional information.

 

Related Topics

Termination Criteria

SQL to Execute

Best Alternative Criteria (Batch Optimize)

Execution

Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation