Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Is the SQL Server Profiler Reads Column Incorrect For Parallel Plans?

$
0
0
I often use profiler as one tool to help identify bad plans. The reads column gives me a good indication of excessive IO to dig into and correct if necessary. I often use it with Showplan so I can see what a query does, replicate it and fix it.However I have just lost some faith in it. I am looking at a poorly performing query joining five tables. A parallel plan has been generated and one table is being scanned (in parallel) due to a missing index. This table had in excess of 4 million rows in it. The rest hitd indexes well. However the entire query generates ONLY 12 READS.Once corrected, a single processor plan is used. This looks really efficient and uses 120 reads. That looks the right figure to me.Clearly 12 reads is wrong. Can anyone shed any light on this? Does the profiler only display one thread of a parallel plan perhaps? Or something else?I'm a bit worried now that I can't trust some of he statistics I base my decisions on.(I do use a number of other techniques, such as DMVs, too)ThanksTimEdit - DMV, not DMC ! Its a dynamic management view not a rap trio!

Viewing all articles
Browse latest Browse all 3145

Trending Articles