Incorrect query worker times for SQL Server 2005

The worker time columns in sys.dm_exec_query_stats will report incorrect values for queries that use parallelism. By comparison SQL traces will report correct values in the CPU column. Microsoft do not provide a fix for this for SQL 2005. See this Connect post:

http://connect.microsoft.com/SQLServer/feedback/details/487838/cpu-time-sys-dm-exec-query-stats-vs-set-statistics-time-on

The work time column values are correct for non-parallel queries.

Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: