RE: Replay Trace

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: John Bell (JohnBell_at_discussions.microsoft.com)
Date: 10/19/04


Date: Tue, 19 Oct 2004 00:33:03 -0700

Hi

You can have a multiple copies of profile running, possibly on different
machines. You may well have issues with conflicts if you are writing to a
trace table rather than a file on a high speed disk. Also you may want to
script the SQL to run rather than replay the trace, that way you can add
additional commands such as DBCC FREEPROCCACHE and DBCC DROPCLEANBUFFERS. To
get consistent results you will also have to restore from a backup first to
make sure that the data is in the same state.

John

"Rick" wrote:

> Hi,
>
> I have a trace table I want to replay. I have got it to replay. However, I
> want to trace the replay. I am troubleshooting some potential performance
> problems. So, I have a trace off production server where we see the duration
> for some inserts in the 1000s. I want to reproduce that with my trace
> replay, then do some tuning, then replay again to see if my tuning is
> working.
>
> Thanks,
> Rick.
>
>
>



Relevant Pages

  • replaying traces problems
    ... I've taken a Trace form one box, and am trying to replay it against another ... box with different box/ database names. ... the target and in the same database as the source. ...
    (microsoft.public.sqlserver.server)
  • Replay Trace
    ... I have a trace table I want to replay. ... I am troubleshooting some potential performance ... replay, then do some tuning, then replay again to see if my tuning is ...
    (microsoft.public.sqlserver.server)
  • right way to perfromance tune?
    ... I captured a trace from a production box. ... Indexes, Stats, etc. so now I want to replay. ... lowering Duration and CPU at this point. ...
    (microsoft.public.sqlserver.server)
  • Re: Profiler "settings" are greyed out
    ... ChrisR wrote: ... > Ive run a trace and Im trying to access the Settings option on the ... Start the replay first against the server in question. ...
    (microsoft.public.sqlserver.server)
  • Re: Database Engine Tuning Advisor problem
    ... running a Tuning trace in SQL profiler and saving it to a file. ... Trace File or Trace Table Workloads that Contain the LoginName Data ... Database Engine Tuning Advisor submits Showplan requests as part of the ...
    (microsoft.public.sqlserver.tools)