Re: Sql 2005 Profiler
- From: "Jasper Smith" <jasper_smith9@xxxxxxxxxxx>
- Date: Wed, 26 Apr 2006 15:10:32 +0100
From BOL
"In SQL Server 2005, the server reports the duration of an event in
microseconds (one millionth, or 10-6, of a second) and the amount of CPU
time used by the event in milliseconds (one thousandth, or 10-3, of a
second). In SQL Server 2000, the server reported both duration and CPU time
in milliseconds. In SQL Server 2005, the SQL Server Profiler graphical user
interface displays the Duration column in milliseconds by default, but when
a trace is saved to either a file or a database table, the Duration column
value is written in microseconds."
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/17e821ca-a12e-4192-acc1-96765d9ae266.htm
--
HTH,
Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com
"jvcoach23" <jvcoach23@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BF7EBEE6-4B5A-4AD3-98AF-ECBCFBC716B6@xxxxxxxxxxxxxxxx
I've been doing some time test between Sql 2000 sp3a and Sql 2005.
Test Database Server = Server 1
It's a dual 1800 AMD, 2 Gig or RAM
Sql 2000 on the default instance
Sql 2005 running on another instance
Not running them both at the same time
Both have a max memory setting of 1800 Mb
I'm using a trc file to do the load testing through profiler. The trc was
created using Sql 2000 profiler going against a database I'll call Db2000.
I've done a timed test of running through the entire trc file. Sql 2000
is
just slightly slower than 2005 (I did a reindex, stats, recompile)
Ok.. here is my issue that I'm trying to figure out. When I run this trc
file through sql 2005 profiler on client Test1 hitting the database on
Server1 and recording the results to Server 2 (I'm only grabbing
statements
with a duration greater than 5), I'm getting sql statements that have a
duration of over 3 million. I run the that same sql statement in
Management
Studio and it takes 262.
So I'm trying to figure out why profiler is seeing the duration as over 3
million milliseconds. The trace file to run in total is never more than
15
minutes total.. so for 1 statement to say it's taking just over 50
minutes..
I just doesn't make sense that it's right.
Anyone seen this.
--
Shannon Ramirez
Network DBA
.
- Follow-Ups:
- Re: Sql 2005 Profiler
- From: jvcoach23
- Re: Sql 2005 Profiler
- References:
- Sql 2005 Profiler
- From: jvcoach23
- Sql 2005 Profiler
- Prev by Date: Re: Sql 2005 Profiler
- Next by Date: Re: Sql 2005 Profiler
- Previous by thread: Re: Sql 2005 Profiler
- Next by thread: Re: Sql 2005 Profiler
- Index(es):
Relevant Pages
|
Loading