立即与支持人员聊天
与支持团队交流

Spotlight on Oracle 10.8 - Getting Started Guide

Welcome to Spotlight Install Spotlight Start Spotlight Spotlight on Oracle Spotlight on Oracle Data Guard Spotlight on Oracle RAC Spotlight on Unix Spotlight on Windows Spotlight on MySQL Troubleshooting: Connection Problems

Session SQL Page

The Session SQL page shows the SQL in all open cursors for the session. From this page you can use the Explain Plan to explain the SQL, or SQL Optimizer (if installed) to provide context-sensitive tuning advice for SQL statements.

To open the Session SQL page

  1. Select the Spotlight on Oracle connection in the Spotlight Browser.
  2. Click I/O | Sessions Page.

  3. Select a Session in the Top Sessions grid.
  4. Click Session SQL.

Note: Alternatively, you can view Session SQL on the Top Sessions | Session SQL Page.

To display session information for a SQL statement

  1. Highlight the SQL statement in the Open SQL grid.
  2. Do one of the following:

    Action

    Description

    Click Explain SQL

    Explain the SQL via the Explain Plan. Tools | Explain Plan

    Click SQL Optimizer

    Display context-sensitive tuning advice for SQL statements via SQL Optimizer (or SQL Tuning). Tools | SQL Optimizer

    Note: For more information on SQL Optimizer, see the SQL Optimizer documentation.

    Click Show in Top SQL

    Open the SQL in the TOP SQL Drilldown | Top SQL Page

    Right-click the SQL Text window and select Format SQL. Display the SQL statement in a more readable form.

    Note: If the SQL cannot be explained, the Explain Plan and SQL Optimizer actions may be unavailable.

 

Related Topics

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级