How to Integrate Performance Monitor and SQL Profiler

To set up the dual-perspective experience, you need to simultaneously capture server performance using both Performance Monitor’s Counter Logs and SQL Server Profiler. The steps to do this are listed below:

  1. Configure System Monitor with the exact counters you want to view later. Be sure to get the scale and everything just right. Set up the Counter Log to the exact same configuration.
  2. Configure Profiler with the right set of trace events. They must include the start and end time data columns so that Profiler can integrate the two logs later. Save the profiler and close profiler.
  3. Manually start the Counter Log. Open SQL Profiler trace code to start the server-side trace.
  4. When the test is complete, stop both the counter Log and the server side trace. You need to stop the SQL Profiler which is a negative point in this.
  5. Open profiler and open the saved trace file.
  6. Use the File->Import Performance Data menu command to import the Counter Log. You have the option of selecting only the important counters from the performance monitor. There will be performance issues if you select too many counters.


Leave a comment

Your email address will not be published.