|
Posted by Greg D. Moore \(Strider\) on 07/24/05 07:19
"Erland Sommarskog" <esquel@sommarskog.se> wrote in message
news:Xns969C64F2AD678Yazorman@127.0.0.1...
> Greg D. Moore (Strider) (mooregr_deleteth1s@greenms.com) writes:
>
> Well, there is a standard recommendation to set "max degree of
parallelism"
> on an HT machine to at most the number of physical processors, thus for
> server A to 2.
Tried that, no joy.
>
> That alone may not give you a better query plan, but at least lower
> load the CPUs. But since it was read-ahead reads that are killing you,
> this would be a minor improvement.
>
> You need to analyse the query plans on A and B. If the plan on B does
> not have parallelism, but the plan A has, then try to add
> "OPTION (MAXDOP 1)" to the query.
>
Remind me of the syntax on this?
In any way, the temporary fix was fairly simple.
In the query itself or the join (which actually is better in our case)
giving a JOIN hint (doesn't really matter which one I use) immediately
improves the performance of the query.
So for now we've added the hint to the VIEW.
I'm going to plan out an upgrade to SP4 with the AWE hotfix in the next week
or so and see if that provides the "real" fix for this query.
Very annoying though.
Thanks for the suggestions though.
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
Navigation:
[Reply to this message]
|