dbTalk Databases Forums  

Duration incorrect on Profiler trace for SQL Server 2005

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Duration incorrect on Profiler trace for SQL Server 2005 in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
KevinL
 
Posts: n/a

Default Duration incorrect on Profiler trace for SQL Server 2005 - 06-05-2008 , 10:57 AM






I'm aware that profiler can show duration in microseconds. I'm running a
trace for a specific DB where the duration is incorrect. If I manually
subtract starttime from endtime, I'm seeing what I'm sure are accurate times
(generally about 1/2 second). For these statements that take 1/2 second
realtime, duration is displayed in the neighborhood of 54,###,###, (and
sometimes it shows massive negative numbers). That would be 54 seconds in
microseconds, or 54,000 seconds in milliseconds - I'm 100% sure neither is
correct.
Under Tools, Options "show in microseconds" is unchecked. If I check it, it
just adds 3 digits, as expected, but still is incorrect.

Has anyone else seen this behavior and is there a workaround that doesn't
involve writing to a SQL table and running SQL to get duration?

Thanks.
--
Kevin

Reply With Quote
  #2  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Duration incorrect on Profiler trace for SQL Server 2005 - 06-07-2008 , 10:33 PM






I wonder if this has anything to do with processor time drift. See
http://support.microsoft.com/kb/931279

Linchi

"KevinL" wrote:

Quote:
I'm aware that profiler can show duration in microseconds. I'm running a
trace for a specific DB where the duration is incorrect. If I manually
subtract starttime from endtime, I'm seeing what I'm sure are accurate times
(generally about 1/2 second). For these statements that take 1/2 second
realtime, duration is displayed in the neighborhood of 54,###,###, (and
sometimes it shows massive negative numbers). That would be 54 seconds in
microseconds, or 54,000 seconds in milliseconds - I'm 100% sure neither is
correct.
Under Tools, Options "show in microseconds" is unchecked. If I check it, it
just adds 3 digits, as expected, but still is incorrect.

Has anyone else seen this behavior and is there a workaround that doesn't
involve writing to a SQL table and running SQL to get duration?

Thanks.
--
Kevin

Reply With Quote
  #3  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Duration incorrect on Profiler trace for SQL Server 2005 - 06-07-2008 , 10:33 PM



I wonder if this has anything to do with processor time drift. See
http://support.microsoft.com/kb/931279

Linchi

"KevinL" wrote:

Quote:
I'm aware that profiler can show duration in microseconds. I'm running a
trace for a specific DB where the duration is incorrect. If I manually
subtract starttime from endtime, I'm seeing what I'm sure are accurate times
(generally about 1/2 second). For these statements that take 1/2 second
realtime, duration is displayed in the neighborhood of 54,###,###, (and
sometimes it shows massive negative numbers). That would be 54 seconds in
microseconds, or 54,000 seconds in milliseconds - I'm 100% sure neither is
correct.
Under Tools, Options "show in microseconds" is unchecked. If I check it, it
just adds 3 digits, as expected, but still is incorrect.

Has anyone else seen this behavior and is there a workaround that doesn't
involve writing to a SQL table and running SQL to get duration?

Thanks.
--
Kevin

Reply With Quote
  #4  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Duration incorrect on Profiler trace for SQL Server 2005 - 06-07-2008 , 10:33 PM



I wonder if this has anything to do with processor time drift. See
http://support.microsoft.com/kb/931279

Linchi

"KevinL" wrote:

Quote:
I'm aware that profiler can show duration in microseconds. I'm running a
trace for a specific DB where the duration is incorrect. If I manually
subtract starttime from endtime, I'm seeing what I'm sure are accurate times
(generally about 1/2 second). For these statements that take 1/2 second
realtime, duration is displayed in the neighborhood of 54,###,###, (and
sometimes it shows massive negative numbers). That would be 54 seconds in
microseconds, or 54,000 seconds in milliseconds - I'm 100% sure neither is
correct.
Under Tools, Options "show in microseconds" is unchecked. If I check it, it
just adds 3 digits, as expected, but still is incorrect.

Has anyone else seen this behavior and is there a workaround that doesn't
involve writing to a SQL table and running SQL to get duration?

Thanks.
--
Kevin

Reply With Quote
  #5  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Duration incorrect on Profiler trace for SQL Server 2005 - 06-07-2008 , 10:33 PM



I wonder if this has anything to do with processor time drift. See
http://support.microsoft.com/kb/931279

Linchi

"KevinL" wrote:

Quote:
I'm aware that profiler can show duration in microseconds. I'm running a
trace for a specific DB where the duration is incorrect. If I manually
subtract starttime from endtime, I'm seeing what I'm sure are accurate times
(generally about 1/2 second). For these statements that take 1/2 second
realtime, duration is displayed in the neighborhood of 54,###,###, (and
sometimes it shows massive negative numbers). That would be 54 seconds in
microseconds, or 54,000 seconds in milliseconds - I'm 100% sure neither is
correct.
Under Tools, Options "show in microseconds" is unchecked. If I check it, it
just adds 3 digits, as expected, but still is incorrect.

Has anyone else seen this behavior and is there a workaround that doesn't
involve writing to a SQL table and running SQL to get duration?

Thanks.
--
Kevin

Reply With Quote
  #6  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Duration incorrect on Profiler trace for SQL Server 2005 - 06-07-2008 , 10:33 PM



I wonder if this has anything to do with processor time drift. See
http://support.microsoft.com/kb/931279

Linchi

"KevinL" wrote:

Quote:
I'm aware that profiler can show duration in microseconds. I'm running a
trace for a specific DB where the duration is incorrect. If I manually
subtract starttime from endtime, I'm seeing what I'm sure are accurate times
(generally about 1/2 second). For these statements that take 1/2 second
realtime, duration is displayed in the neighborhood of 54,###,###, (and
sometimes it shows massive negative numbers). That would be 54 seconds in
microseconds, or 54,000 seconds in milliseconds - I'm 100% sure neither is
correct.
Under Tools, Options "show in microseconds" is unchecked. If I check it, it
just adds 3 digits, as expected, but still is incorrect.

Has anyone else seen this behavior and is there a workaround that doesn't
involve writing to a SQL table and running SQL to get duration?

Thanks.
--
Kevin

Reply With Quote
  #7  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Duration incorrect on Profiler trace for SQL Server 2005 - 06-07-2008 , 10:33 PM



I wonder if this has anything to do with processor time drift. See
http://support.microsoft.com/kb/931279

Linchi

"KevinL" wrote:

Quote:
I'm aware that profiler can show duration in microseconds. I'm running a
trace for a specific DB where the duration is incorrect. If I manually
subtract starttime from endtime, I'm seeing what I'm sure are accurate times
(generally about 1/2 second). For these statements that take 1/2 second
realtime, duration is displayed in the neighborhood of 54,###,###, (and
sometimes it shows massive negative numbers). That would be 54 seconds in
microseconds, or 54,000 seconds in milliseconds - I'm 100% sure neither is
correct.
Under Tools, Options "show in microseconds" is unchecked. If I check it, it
just adds 3 digits, as expected, but still is incorrect.

Has anyone else seen this behavior and is there a workaround that doesn't
involve writing to a SQL table and running SQL to get duration?

Thanks.
--
Kevin

Reply With Quote
  #8  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Duration incorrect on Profiler trace for SQL Server 2005 - 06-07-2008 , 10:33 PM



I wonder if this has anything to do with processor time drift. See
http://support.microsoft.com/kb/931279

Linchi

"KevinL" wrote:

Quote:
I'm aware that profiler can show duration in microseconds. I'm running a
trace for a specific DB where the duration is incorrect. If I manually
subtract starttime from endtime, I'm seeing what I'm sure are accurate times
(generally about 1/2 second). For these statements that take 1/2 second
realtime, duration is displayed in the neighborhood of 54,###,###, (and
sometimes it shows massive negative numbers). That would be 54 seconds in
microseconds, or 54,000 seconds in milliseconds - I'm 100% sure neither is
correct.
Under Tools, Options "show in microseconds" is unchecked. If I check it, it
just adds 3 digits, as expected, but still is incorrect.

Has anyone else seen this behavior and is there a workaround that doesn't
involve writing to a SQL table and running SQL to get duration?

Thanks.
--
Kevin

Reply With Quote
  #9  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Duration incorrect on Profiler trace for SQL Server 2005 - 06-07-2008 , 10:33 PM



I wonder if this has anything to do with processor time drift. See
http://support.microsoft.com/kb/931279

Linchi

"KevinL" wrote:

Quote:
I'm aware that profiler can show duration in microseconds. I'm running a
trace for a specific DB where the duration is incorrect. If I manually
subtract starttime from endtime, I'm seeing what I'm sure are accurate times
(generally about 1/2 second). For these statements that take 1/2 second
realtime, duration is displayed in the neighborhood of 54,###,###, (and
sometimes it shows massive negative numbers). That would be 54 seconds in
microseconds, or 54,000 seconds in milliseconds - I'm 100% sure neither is
correct.
Under Tools, Options "show in microseconds" is unchecked. If I check it, it
just adds 3 digits, as expected, but still is incorrect.

Has anyone else seen this behavior and is there a workaround that doesn't
involve writing to a SQL table and running SQL to get duration?

Thanks.
--
Kevin

Reply With Quote
  #10  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Duration incorrect on Profiler trace for SQL Server 2005 - 06-07-2008 , 10:33 PM



I wonder if this has anything to do with processor time drift. See
http://support.microsoft.com/kb/931279

Linchi

"KevinL" wrote:

Quote:
I'm aware that profiler can show duration in microseconds. I'm running a
trace for a specific DB where the duration is incorrect. If I manually
subtract starttime from endtime, I'm seeing what I'm sure are accurate times
(generally about 1/2 second). For these statements that take 1/2 second
realtime, duration is displayed in the neighborhood of 54,###,###, (and
sometimes it shows massive negative numbers). That would be 54 seconds in
microseconds, or 54,000 seconds in milliseconds - I'm 100% sure neither is
correct.
Under Tools, Options "show in microseconds" is unchecked. If I check it, it
just adds 3 digits, as expected, but still is incorrect.

Has anyone else seen this behavior and is there a workaround that doesn't
involve writing to a SQL table and running SQL to get duration?

Thanks.
--
Kevin

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.