The Find SQL homepage varies depending on whether or not you have used the Find SQL module before.
To start creating search sessions, add a server connection. Your new saved search sessions in Find SQL will be organized by server.
To add a server connection and start your first session
After you create a new session, another window displays two panels. The left side displays the Find SQL from Plan Cache panel, and the right side displays the Find SQL from SQL Trace panel. Select which type of search to create for your first session.
To start first session - Find SQL from Plan Cache
Note: The Find SQL from Plan Cache module only supports SQL Server 2005 (Service Pack 2) or later.
To start first session - Find SQL from SQL Trace
Upon subsequent sessions, the homepage displays a list of servers and recent searches—for both Plan Cache and SQL Trace sessions.
You can start a new search, add a server, or review a saved search. Review the following for additional information:
Left Panel |
Use this panel to start a new search |
My Servers |
Displays list of your servers on which you have conducted searches. From this panel you can do the following:
Tip: Hover over a server name to display the connection profile. |
Show all servers |
Displays the full list of servers you have used. Click the link to start a new search from an existing server. Note: Right-click the server name to delete the selected server. |
Right Panel |
Use this panel to review searches |
Recent Searches |
Displays most recent searches. Tip: Click the search name to display search details. |
Show all searches |
Display the full list of searches in each server. |
For detailed information about creating new search sessions, see the following:
Select Connection for Plan Cache
You can use Find SQL to inspect and collect SQL from the SQL Server Plan Cache.
Find SQL from Plan Cache evaluates existing SQL performance according to different statistics (such as CPU time and elapsed time) from different areas (such as batches and database objects).
Note: The Find SQL from Plan Cache module only supports SQL Server 2005 (Service Pack 2) or later.
To create a new Plan Cache search session
Select Find SQL.
Note: If you are creating your first search session, see Find SQL - the Homepage.
The Add Plan Cache Search dialog opens. Select criteria for collecting SQL. Review the following for additional information:
Criteria to collect SQL | Description |
Databases |
Click the link and select from the following options:
|
Select the number of SQL to retrieve |
Click the link to specify the number of SQL and the retrieval method. Note: The second option allows you to specify the number of SQL according to a specific criterion. |
A search progress bar displays next to the search name during the search process. The following information and options are displayed in the Find SQL from Plan Cache pane.
Start a new search |
Select to begin a new search and to display the Criteria to collect SQL dialog box. |
Search name |
Name you have given to your search. Click to open the dashboard-style Search Result page for this search. Notes:
|
Status |
Displays status of search:
|
Show all Plan Cache searches in this server |
Select to display all the searches you have conducted on the selected server. Note: Right-click the search to delete the selected search. |
When the search is finished, a dashboard-style Search Results page displays.
Click a pie chart to view the top-consuming SQL for that resource. Each pie chart represents a different view of the most-expensive (top-consuming) SQL. In each view, the SQL statements are filtered by a different resource consumed and by a different SQL location.
You can use Find SQL to inspect and collect SQL from the SQL Server Plan Cache.
Find SQL from Plan Cache evaluates existing SQL performance according to different statistics (such as CPU time and elapsed time) from different areas (such as batches and database objects).
Note: The Find SQL from Plan Cache module only supports SQL Server 2005 (Service Pack 2) or later.
To create a new Plan Cache search session
Select Find SQL.
Note: If you are creating your first search session, see Find SQL - the Homepage.
The Add Plan Cache Search dialog opens. Select criteria for collecting SQL. Review the following for additional information:
Criteria to collect SQL | Description |
Databases |
Click the link and select from the following options:
|
Select the number of SQL to retrieve |
Click the link to specify the number of SQL and the retrieval method. Note: The second option allows you to specify the number of SQL according to a specific criterion. |
A search progress bar displays next to the search name during the search process. The following information and options are displayed in the Find SQL from Plan Cache pane.
Start a new search |
Select to begin a new search and to display the Criteria to collect SQL dialog box. |
Search name |
Name you have given to your search. Click to open the dashboard-style Search Result page for this search. Notes:
|
Status |
Displays status of search:
|
Show all Plan Cache searches in this server |
Select to display all the searches you have conducted on the selected server. Note: Right-click the search to delete the selected search. |
When the search is finished, a dashboard-style Search Results page displays.
Click a pie chart to view the top-consuming SQL for that resource. Each pie chart represents a different view of the most-expensive (top-consuming) SQL. In each view, the SQL statements are filtered by a different resource consumed and by a different SQL location.
Note: This topic may not include a description for every field in the screen or dialog.
To select a connection
Select Click here to start Find SQL.
Review the following for additional information:
Select Connection | Description |
Connection |
Click to select a previously created connection. Tip: Click to open the Connection Manager to create a new connection. See Connect to SQL Server for more information. |
Password |
Password |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center