Re: Massive amoutns of Reading
- From: "Greg D. Moore \(Strider\)" <mooregr_deleteth1s@xxxxxxxxxxx>
- Date: Sun, 24 Jul 2005 04:19:04 GMT
"Erland Sommarskog" <esquel@xxxxxxxxxxxxx> wrote in message
news:Xns969C64F2AD678Yazorman@xxxxxxxxxxxx
> Greg D. Moore (Strider) (mooregr_deleteth1s@xxxxxxxxxxx) 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@xxxxxxxxxxxxx
>
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
.
- Follow-Ups:
- Re: Massive amoutns of Reading
- From: Erland Sommarskog
- Re: Massive amoutns of Reading
- References:
- Massive amoutns of Reading
- From: Greg D. Moore \(Strider\)
- Re: Massive amoutns of Reading
- From: Erland Sommarskog
- Re: Massive amoutns of Reading
- From: Greg D. Moore \(Strider\)
- Re: Massive amoutns of Reading
- From: Erland Sommarskog
- Massive amoutns of Reading
- Prev by Date: Re: Check constraint - SQL problem
- Next by Date: view vs. function vs. procedure - really basic question
- Previous by thread: Re: Massive amoutns of Reading
- Next by thread: Re: Massive amoutns of Reading
- Index(es):
Relevant Pages
|