Sunday, 16 July 2017

Sql server profiler

SQL Server Profiler is a graphical interface to create and manage traces and analyze and replay trace results. Events are saved in a trace file that can later be analyzed or used to replay a specific series of steps when trying to diagnose a problem.
Open the Sql server profiler
There are two way to open the sql server profiler
Ø  Sql server management studio
Ø  Performance tool
Opening sql server profiler from Sql server management studio
Open SSMS -> Tools


Click on Sql server profiler
A new window will be open

Connect the database server
And run the profiler.
Open sql server profiler using Performance tool
Go to Start
Start -> all programs -> Microsoft sql server 2012 -> Performance Tool -> sql server profiler

Click on the sql server profiler. A new window will be open


Click on below icon to connect to the server


Select the server and connect the server


Run the profiler
  

Once we run the profiler the monitoring window will be open.

 Here we will profile our query
Let’s the example.
I am running a sql script on SSMS


We can see this query in the profiler.


2 comments:


  1. Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing on Msbi online training
    Msbi online training Hyderabad
    Msbi online training India
    Msbi online course
    Msbi course
    Msbi training
    Msbi certification training

    ReplyDelete

If you have any doubt, please let me know.

Popular Posts