In Find SQL, SQL Optimizer groups the collected SQL into SQL Classification categories. The SQL by Classification page allows you to view the list of SQL for each classification category. You can also use this page to view the details of each statement.
To view SQL by Classification
The top-right corner of the window displays the classification category (Simple, Complex, Problematic, or Invalid).
Click Switch to filter by classification rules in the same drop-down list to filter SQL by rules you select. This method displays SQL in all applicable categories according to the rules selected.
Note: Any rules that were not be used by SQL Optimizer to classify collected SQL in this Find SQL session are disabled in the drop-down list.
Tip: You can enable/disable classification rules or define new rules in Options | General | SQL Classification. See SQL Classification Options for more information.
Review the following for additional information:
Pane | Description | ||||
---|---|---|---|---|---|
SQL Text |
Displays the SQL text of the selected SQL. Send to Optimize SQL by SQL Rewrite—Click to send the selected SQL to SQL Rewrite.
View Batch / View Database Object—Click to view details of the batch containing the SQL. Right-click SQL text to view additional options. | ||||
Execution Plan |
Execution Plan tab—See About Execution Plans (Find SQL) for more information. SQL Statistics tab—View statistics minimum and maximum values. SQL Information tab—Displays classification and classification rules details. | ||||
Top SQL |
Lists the Top n SQL. Select a SQL to view the SQL text and statistics. View Statistics—Click the link to select a different way to view statistics. |
Click View Summary Chart to return to the Summary page.
When the Batch Details page opens, it displays details for the selected batch. Expand the batch node and select a SQL to show SQL details.
Pane | Description |
---|---|
Batch Text |
Displays text of the selected batch. Right-click SQL text to view additional options. |
Batch Statistics |
View Statistics—click the link to select one of the following:
|
Top Batches |
View Statistics—click the link to select one of the following:
Expand the batch node to view the SQL in the batch. Select SQL to view SQL text and statistics. The SQL is shown highlighted in the batch text. |
Click View Summary Chart to return to the Results page.
When the Database Objects Details page opens, it displays details for the selected object. Expand the object node and select a SQL to show SQL details.
Pane | Description |
---|---|
Database Object Text |
Displays text of the selected object. Right-click SQL text to view additional options. |
Object Statistics |
View Statistics—Click link to select one of the following:
|
Top Database Objects |
View Statistics—Click link to select one of the following:
Expand the object node to view the SQL in the object. Select SQL to view SQL text and statistics. The SQL is shown highlighted in the object text. |
Click View Summary Chart to return to the Results page.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center