SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 Article: Integrating Profiler and PerfMon Log Files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AskSQLTeam
Ask SQLTeam Question

USA
0 Posts

Posted - 02/05/2008 :  12:08:52  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote

Troubleshooting SQL Server requires the use of both PerfMon (Performance/System Monitor) and SQL Trace files created by SQL Profiler or directly by SQL Server trace. Analysis of the gathered data is much easier if you can correlate your trace file with the PerfMon counters. In this article I'll show how to create a PerfMon counters log file and SQL Profiler Trace file, how to read them both and how to correlate the two files in SQL Profiler.




Read Integrating Profiler and PerfMon Log Files

euan_garden
Microsoft SQL Server Product Team

34 Posts

Posted - 02/07/2008 :  23:44:54  Show Profile  Reply with Quote
I'd recomend reducing the capture window in Perfmon from the 15s you have to 5s or less. Because the SQL Server events are so granular (many per s) the correlation algorithm gets confused sometimes because the granularity of perfmon events is not low enough.
Go to Top of Page

spirit1
Cybernetic Yak Master

Slovenia
11750 Posts

Posted - 02/08/2008 :  08:43:24  Show Profile  Visit spirit1's Homepage  Reply with Quote
thanx for letting us know euan!

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
SSMS Add-in that does a few things: www.ssmstoolspack.com <- new version out
Go to Top of Page

samwise_007
Starting Member

3 Posts

Posted - 03/04/2008 :  19:06:08  Show Profile  Reply with Quote
Something that got me in a bit of a bind once...ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/e1b3072c-8daf-49a7-9895-c8cccd2adb95.htm

"To guarantee accuracy of correlation with System Monitor data, the trace must contain both StartTime and EndTime data columns."

You must have Startime and endTime in your SQL Trace.
Go to Top of Page

lionofdezert
Aged Yak Warrior

Pakistan
885 Posts

Posted - 01/26/2009 :  05:12:25  Show Profile  Visit lionofdezert's Homepage  Send lionofdezert a Yahoo! Message  Reply with Quote
soooooooooooooooooooooooo helpful... thanx
Go to Top of Page

sagitariusmzi
Posting Yak Master

Pakistan
113 Posts

Posted - 01/29/2009 :  06:49:11  Show Profile  Visit sagitariusmzi's Homepage  Reply with Quote
i am getting error, when i use File > Import Performance Data,
and help ?


correlation is not possible because there is no intersection between trace and performance data time ranges
Go to Top of Page

spirit1
Cybernetic Yak Master

Slovenia
11750 Posts

Posted - 01/29/2009 :  07:33:52  Show Profile  Visit spirit1's Homepage  Reply with Quote
i think that the error message is self explanatory


___________________________________________________________________________
Causing trouble since 1980
Blog: http://weblogs.sqlteam.com/mladenp
Speed up SSMS development: www.ssmstoolspack.com <- version 1.1 out!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000