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

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

Create Inspect SGA Groups

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

To create a group

  1. Select the Inspect SGA tab in the main window.
  2. Click beside the Group list in the main window.

  3. Review the following for additional information:

    Group Enter a name for the group.
    Connection

    Click to select an existing connection for the group.

    Tip: Click to create a new connection. See Connect to the Database for more information.

    Tip: Right-click a group and select Delete to delete the group.

  

Related Topics

Use Inspect SGA

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

To use Inspect SGA

  1. Select the Inspect SGA tab in the main window.
  2. Click beside the Group list and select a group.

    Tip: Click to create a new group. See Create Inspect SGA Groups for more information.

  3. Click . The Add Inspect SGA Job wizard displays.

  4. Specify SQL collection criteria. Review the following for additional information:

    General Information Page

    Description

    Job Type

    Select the type of Inspect SGA job to add:

    • Executed SQL from SQL area—Retrieves executed SQL statements from the SQL Area in the Oracle SGA.
    • Currently running SQL—Retrieves currently running SQL statements from the Open Cursor system view in the Oracle SGA.

    Note: Select the Automatically send Job to Batch Optimize SQL when finished retrieving checkbox to optimize the job in Batch Optimize SQL. See Use Batch Optimize for more information.

    Collecting Criteria Page

    Description

    Collecting Criteria

    Select one of the following criteria to use for collecting SQL:

    • Top n SQL—Retrieves the number of SQL entered in the corresponding field.
    • Top n% of the SQL—Retrieves a percentage of the SQL in the SGA based on the number entered in the corresponding field.
    • All SQL—Retrieves all SQL from the SGA.

    Run time statistics to use for collecting SQL

    Select the statistics to filter SQL retrieved in ascending or descending order.

    Note: This page is only available if you select Executed SQL from SQL area on the General Information page.

    Session Criteria Page

    Description

    Monitor By

    Select one of the following criteria for the sessions to monitor:

    • Entire instance—Collects currently running SQL on the database instance associated with the group you selected.
    • Session ID (SID)—Collects currently running SQL with the SID values you select.
    • Connection identity—Collects currently running SQL with the identity information you select.

    Note: This page is only available if you select Currently running SQL on the General Information page.

    SQL Filter Page

    Description

    SQL Type

    Select one of the following options for SQL types to collect:

    • Select SQL Type—Collects the SQL statement types you select.
    • All SQL—Collects all SQL statement types that meet the collecting or session criteria you specified.

    Tip: Select the Ignore Oracle Internal SQL checkbox to ignore statements executed by the SYS and SYSTEM schemas.

    Collection Time Page

    Description

    Collection Time

    Select one of the following collection time options:

    • Start collecting immediately—The collection process automatically begins after you close the wizard.
    • Start collecting when you click the Inspect button—The SQL collection process begins after you click .
    • Start collecting at a specific time—The SQL collection process begins at the time you specify after you click .

    Note: These options are only available when you select Executed SQL from SQL area on the General Information page.

    Monitoring Time

    Specify the start time, start date, end date, duration, and interval for session monitoring.

    Note: This option is only available when you select Currently running SQL on the General Information page.

    Statistics Page

    Description

    Statistics

    Add or remove SQL statistics to retrieve with the Inspect SGA job.

    Tip: See V$SQL in the Oracle Database Reference 11g Release 2 (11.2) for descriptions of the SQL statistics.

  5. Click Finish to save your options and close the wizard. If you selected to start SQL collection immediately, the collection process begins after you close the wizard.
  6. If you did not specify to start collection immediately, select the job in the Job List pane and click to start the inspection process now or at the specified time.

    Tip: Click the arrow beside and select Inspect Now to start the inspection process immediately. Click to stop a currently running job before starting a new job.

  

Related Topics  

Manage Jobs (Inspect SGA)

View SQL Statistics

View SQL Text (Inspect SGA)

Manage Jobs (Inspect SGA)

Inspect SGA displays jobs you create using the Add Inspect SGA Jobs wizard in the Job List pane by groups. You can use the Job List pane to manage jobs for a selected group.

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

To manage a job

  1. Select the Inspect SGA tab in the main window.

  2. Click beside the Group list and select a group.

    Tips:

    • Click beside the Group list to create a new group.

    • Right-click a job in the Job List pane and select Inspect to collect execution statistics.

    • Right-click a job and select Delete Jobs | option to delete jobs.

  

Related Topics  

Use Inspect SGA

View SQL Statistics

View SQL Text (Inspect SGA)

View SQL Statistics

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

To view SQL statistics

  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.

    Tip: Right-click the header row in the SQL Statistics pane and select Column Chooser to add or remove statistics. See V$SQL in the Oracle Database Reference 11g Release 2 (11.2) for descriptions of the SQL statistics.

  

Related Topics  

Use Inspect SGA

Manage Jobs (Inspect SGA)

View SQL Text (Inspect SGA)

関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択