Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL Server 2005 Profiler Column Filter Expand / Collapse
Author
Message
Posted Wednesday, April 30, 2008 2:21 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, November 15, 2012 4:16 AM
Points: 61, Visits: 127
Hi All

I want to filter a trace of SQL Server 2005 Profile with the IP address of the client system .

Current Situation

Multiple workstation is running same application with a common SQL Server login to a common SQL Server 2005

Requirement

I want to filter the trace for a particular work station when all other users are working.

Problem

Can anyone suggest me which filter option I need to choose ? Can I use some IP based filter ?

Thanks in advance..


Post #492713
Posted Wednesday, April 30, 2008 2:42 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:53 AM
Points: 5,228, Visits: 9,443
I think there's a column called HostName that you can filter on.

John
Post #492727
Posted Wednesday, April 30, 2008 5:15 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, February 27, 2014 3:44 AM
Points: 179, Visits: 331
In the Events Selection tab, check the Show all Columns check box, and then click on Column Filters button. Select the HostName option from the Edit Filter list on the left frame, and specify the name of the system in the Like on the right frame.

Hope this helps.....


Chandrachurh Ghosh
DBA – MS SQL Server
Ericsson India Global Services Limited
Quality is not an act, it is a habit.
Post #492813
Posted Wednesday, April 30, 2008 6:02 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, January 23, 2013 9:22 AM
Points: 1,062, Visits: 355
It depends on how the application is set up... HostName might only show the application server that is hitting sql server.



Sopheap



Post #492845
Posted Wednesday, April 30, 2008 6:09 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, February 27, 2014 3:44 AM
Points: 179, Visits: 331
That is correct, if the connection is through the application server's DAL, then it will be difficult.

Chandrachurh Ghosh
DBA – MS SQL Server
Ericsson India Global Services Limited
Quality is not an act, it is a habit.
Post #492850
Posted Monday, May 5, 2008 6:22 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, November 15, 2012 4:16 AM
Points: 61, Visits: 127
Thanks everybody ..

It worked . It will really help me..:)

Thanks once again..

Post #494900
Posted Monday, October 1, 2012 3:13 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, October 23, 2012 5:44 AM
Points: 1, Visits: 4
Create New Trace
In Event Selection Tab, un-check others than RPC:Completed
Click on Column Filters, Click Application Name like ".Net SqlClient Data Provider"
Click on Client Process Id=<your host_process_id>
(host_process_id=select host_process_id from sys.dm_exec_sessions)
Click OK and Run the trace.
You will get only traces for for your client and also .net SQL client, not others like Report Server, etc.
Post #1366410
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse