You can copy an execution plan from the Execution Plan pane and paste it into another file as text or a bitmap image.
To copy an execution plan
Use Batch Optimize SQL to automatically identify and optimize problematic SQL statements in your database environment. Before starting the batch optimization process, you must create a batch of jobs. Jobs consist of text with one or more SQL statements and may include database objects, application source code, or files created using Scan SQL or Inspect SGA.
Once you create a batch, Batch Optimize SQL extracts SQL statements from the jobs and identifies problematic statements. Next, Batch Optimize SQL rewrites the problematic statements and applies Oracle optimization hints to generate faster running alternatives. Finally, Batch Optimize SQL tests the alternatives generated to provide you with the best alternative. After reviewing the details for the best alternative, you can generate an optimized script for the original source code.
Notes:
You can test run SQL alternatives using a different schema or database connection than the one used for scanning and optimizing your SQL statements.
To use batch optimize
Click Add Code to Optimize in the Batch Job List pane and select All Types.
Review the following for additional information:
Connection Page | Description |
Connection |
Click Tips:
|
Database Objects Page | Description |
Database objects |
Select a schema, database object type, or individual database object, and then click Tip:
|
Execute using schema |
Click |
Source Code Page | Description |
Source code type |
Select Text/Binary files, Oracle SQL *Plus Script, or COBOL programming source code to indicate the source code type for the file or directory you want to scan. |
Add by file |
Click |
Add by directory |
Click Note: Select the Include Sub-directory checkbox to scan sub-directories. |
Scan using schema |
Click |
Execute using schema |
Click |
SQL Text Page | Description |
SQL text |
Enter SQL statement text. |
Scan using schema |
Click |
Execute using schema |
Click |
Scan SQL Page | Description |
Group |
Select the Scanner group that contains the SQL statements you want to scan. |
Scan using schema |
Click |
Execute using schema |
Click |
Inspect SGA Page | Description |
Group |
Select the Inspector group that contains the SQL statements you want to scan. |
Scan using schema |
Click |
Execute using schema |
Click |
Note: Batch Optimize helps you manage jobs by organizing them into batches. Use the Batch Info page to create a new batch or to add the current job to an existing batch. |
Select Batch List in the Batch Job List pane to view information about the jobs you created.
The Batch List pane sorts information about your jobs by batches. Additional information displays in the Jobs Improved pane.
Select a batch from the batch list node to see details for the batch in the Job List pane.
The Job List pane displays the type of job, job status, and time of improvement for each job in the batch. Additional information displays in the SQL Classification and Cost and Elapsed Time Comparison panes for a selected job.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback 利用規約 プライバシー Cookie Preference Center