Microsoft® SQL Server™ 2005 Administrator's Companion
by Edward Whalen, Marcilina Garcia, Burzin Patel, Stacia Misner, Victor Isakov
Using SQL Server Profiler
As you have seen, you can use SQL Server Management Studio to analyse and fine tune T-SQL statements. However, it will not help you to find which queries are potentially inefficient in your database solution. If you are interested in identifying the different types of queries and T-SQL statements that are being executed by various client applications inside your particular environment, you will have to use a tool such as SQL Server Profiler.
SQL Server Profiler is a very powerful utility that basically tries to capture the network activity between client applications and your SQL Server instance by listening in on the Tabular Data Stream (TDS). SQL Server Profiler can display this captured trace information in a very rich ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access