dotTrace
 
2021.3
Get dotTrace
You are viewing the documentation for an earlier version of dotTrace.

SQL Queries

Last modified: 16 November 2021

The SQL Queries event indicates time intervals where your application communicates with an SQL server. This includes time required for opening and closing connections, running commands, performing queries, and other SQL activities. Note that all measurements are performed on the client side - dotTrace measures the time between a client sending a request and it receiving a response.

dotTrace collects SQL data from the following data providers:

  • SQLClient

  • OLE DB*

  • Entity Framework

  • ODBC*

Select the SQL Queries event to analyze how your app accesses data. For example, a web application may run slow due to a bottleneck in SQL server communication. In such a case, you can use the SQL Queries filter to determine the slowest queries and methods that run these queries.

When the SQL Queries event is selected, the Filters window contains sub-filters that allow you to refine the resulting filter: SQL Queries: Command and SQL Queries: Connection String.