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 ««12

Introduction to Profiler Expand / Collapse
Author
Message
Posted Thursday, April 16, 2009 1:48 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 5:01 PM
Points: 10,295, Visits: 13,280
raj more (4/16/2009)
Great intro. I like it.

I have seen tools like Intuit (now Quest S/w) Coefficient that do a phenomenal job of analyzing the output of a trace and posting the results in an extremely easy to use format.

Can you post some useful trace templates that you use for Profiler 2008 and how to use them?

Also, how do you baseline a server using Profiler and how can this info be best used when something starts acting up.


Raj,

Thanks for the kind words.

I hadn't even considered posting templates mainly because templates I do create are usually just to add filters on database or application so I don't have to keep re-creating the filters, so they are specific to my environment. It's a great suggestion though.

As far as baselining, that will be something I discuss in one of the later articles in the series. A quick idea is to to use the CPU, reads, and writes columns on the RPC:Completed, SP:Completed, and SQL:StmtCompleted events and see if there are changes to these as your data changes or as you make changes to queries. I've just started Grant Fritchey's book, SQL Server 2008 Query Performance Tuning Distilled, and I currently reading his chapter on baselining. He says, and I agree, you can't tell if what you are doing works if you don't have a baseline.




Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #698855
Posted Thursday, April 16, 2009 2:29 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, January 3, 2014 8:39 AM
Points: 74, Visits: 37
Jack, thanks a bunch. That was the problem. I went through all the columns and right clicked on them to select them, but they weren't all set for some reason. Once I fixed that, I got what I needed. This will be a huge help. Looking forward to future articles on using the traces.
Post #698900
Posted Thursday, April 16, 2009 2:44 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Friday, October 24, 2014 11:52 AM
Points: 9,294, Visits: 9,484
Nice article, Jack. It's a great kick-start for anybody wanting to learn the profiler.

-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung
Proactive Performance Solutions, Inc.
"Performance is our middle name."
Post #698912
Posted Friday, April 17, 2009 12:26 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, July 25, 2014 5:21 AM
Points: 1,205, Visits: 923
Hi Jack,
Brilliant article! I knew from other posts elsewhere that you were going to do a series on Profiler and when I saw this in my mailbox this morning I got very exited. This part I am OK with except for the selecting of columns and events which I will now start doing and swot up from BOL. I am excited for you next delivery. When can we expect that? Keep up the good work!


Manie Verster
Developer
Johannesburg
South Africa

I can do all things through Christ who strengthens me. - Holy Bible
I am a man of fixed and unbending principles, the first of which is to be flexible at all times. - Everett Mckinley Dirkson (Well, I am trying. - Manie Verster)
Post #699133
Posted Friday, April 17, 2009 6:52 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, October 20, 2014 11:55 AM
Points: 1,330, Visits: 19,306
Very nice article Jack, I would be in the crowd who needs this introduction, and found your article to be very well written and easy to follow.

Looking forward to the next!

Jon


---------------------------------------------------------
How best to post your question
How to post performance problems
Tally Table:What it is and how it replaces a loop

"stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."
Post #699357
Posted Friday, April 17, 2009 8:19 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 5:01 PM
Points: 10,295, Visits: 13,280
Thanks for the kind works guys.

I don't know that "Brilliant" should be used, but I'll take it.




Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #699463
Posted Tuesday, July 14, 2009 9:05 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Friday, October 24, 2014 12:21 PM
Points: 94, Visits: 1,508
Great article, just want to ask if there is a way to limit a non-sysadmin account to certain databases?
Post #753142
Posted Wednesday, July 15, 2009 7:24 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 5:01 PM
Points: 10,295, Visits: 13,280
Sorry, permissions for running Profiler/Trace are at the server level and cannot be assigned or revoked by database. Pre-2005 you would need to be sysadmin, post-2005 you can assign Alter Trace, but again, that is a server level permission.



Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #753426
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse